diff --git a/screenless/bureau/archives/archives.py b/screenless/bureau/archives/archives.py index 3b4b1c7..bd3549f 100644 --- a/screenless/bureau/archives/archives.py +++ b/screenless/bureau/archives/archives.py @@ -64,8 +64,11 @@ class Archives(Bureau): _, dev_base = os.path.split(dev) mountpoint = os.path.join("/media", dev_base) print("MOUNTING EXTERNAL MEDIUM: ", dev, "on", mountpoint) - if len(self.mounts < 26): + if len(self.mounts) < 26: mount_index = chr(65 + len(self.mounts)) + else: + print("WTF!? You have over 26 drives plugged in you wierdo. No more!") + #TODO: handle this properly and make sure we don't overlap indices # pmount dev # path is always /media/device