diff --git a/screenless/bureau/archives/archives.py b/screenless/bureau/archives/archives.py index 660069e..3b4b1c7 100644 --- a/screenless/bureau/archives/archives.py +++ b/screenless/bureau/archives/archives.py @@ -61,7 +61,8 @@ class Archives(Bureau): def _mount_and_archive(self, dev): # TODO: small print options to import stuff - mountpoint = os.path.join("/media" os.path.split(dev)) + _, 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): mount_index = chr(65 + len(self.mounts))