Fix wrong location assignment for selected file
This commit is contained in:
parent
5bf5e336ec
commit
7909672f51
1 changed files with 1 additions and 1 deletions
|
|
@ -996,7 +996,7 @@ class Printer(PrinterInterface, comm.MachineComPrintCallback):
|
|||
return dict()
|
||||
|
||||
print_job_file = selected_file.get("filename", None)
|
||||
location = FileDestinations.LOCAL if selected_file.get("sd", False) else FileDestinations.SDCARD
|
||||
location = FileDestinations.SDCARD if selected_file.get("sd", False) else FileDestinations.LOCAL
|
||||
|
||||
if not print_job_file or not location:
|
||||
return dict()
|
||||
|
|
|
|||
Loading…
Reference in a new issue