Merge branch 'fix/sdcardFilename' into devel
This commit is contained in:
commit
2c5f2f0bf8
1 file changed
+2
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user