Merge branch 'fix/sdcardFilename' into devel

This commit is contained in:
Gina Häußge committed 2015-10-22 13:55:27 +02:00
commit 2c5f2f0bf8
1 file changed
+2
+2
View File
@@ -656,6 +656,8 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
if filename is not None:
if sd:
path_in_storage = filename
if path_in_storage.startswith("/"):
path_in_storage = path_in_storage[1:]
path_on_disk = None
else:
path_in_storage = self._fileManager.path_in_storage(FileDestinations.LOCAL, filename)