Fix: Display full name currently selected SD file

Wrong truncation caused first character to be missing
This commit is contained in:
Gina Häußge 2015-03-04 20:39:36 +01:00
parent edd560f5a4
commit f0b2f6d509

View file

@ -631,7 +631,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
def _setJobData(self, filename, filesize, sd):
if filename is not None:
if sd:
path_in_storage = filename[1:]
path_in_storage = filename
path_on_disk = None
else:
path_in_storage = self._fileManager.path_in_storage(FileDestinations.LOCAL, filename)