|
|
@ -61,7 +61,8 @@ class Archives(Bureau):
|
|
|
|
|
|
|
|
|
|
|
|
def _mount_and_archive(self, dev):
|
|
|
|
def _mount_and_archive(self, dev):
|
|
|
|
# TODO: small print options to import stuff
|
|
|
|
# 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)
|
|
|
|
print("MOUNTING EXTERNAL MEDIUM: ", dev, "on", mountpoint)
|
|
|
|
if len(self.mounts < 26):
|
|
|
|
if len(self.mounts < 26):
|
|
|
|
mount_index = chr(65 + len(self.mounts))
|
|
|
|
mount_index = chr(65 + len(self.mounts))
|
|
|
|