Merge branch 'fix/sdcardFilename' into devel
This commit is contained in:
commit
2c5f2f0bf8
1 changed files with 2 additions and 0 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in a new issue