mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-08-20 14:19:05 +08:00
Also added "none" to the state list of prints_jobs not to be matched with printers
This commit is contained in:
parent
416f695610
commit
c988e0eccb
@ -392,7 +392,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
|
|||||||
self._updatePrintJob(print_job, print_job_data)
|
self._updatePrintJob(print_job, print_job_data)
|
||||||
|
|
||||||
if print_job.state != "queued": # Print job should be assigned to a printer.
|
if print_job.state != "queued": # Print job should be assigned to a printer.
|
||||||
if print_job.state in ["failed", "finished", "aborted"]:
|
if print_job.state in ["failed", "finished", "aborted", "none"]:
|
||||||
# Print job was already completed, so don't attach it to a printer.
|
# Print job was already completed, so don't attach it to a printer.
|
||||||
printer = None
|
printer = None
|
||||||
else:
|
else:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user