Also added "none" to the state list of prints_jobs not to be matched with printers

This commit is contained in:
Jaime van Kessel 2018-05-31 17:20:53 +02:00
parent 416f695610
commit c988e0eccb

View file

@ -392,7 +392,7 @@ class ClusterUM3OutputDevice(NetworkedPrinterOutputDevice):
self._updatePrintJob(print_job, print_job_data)
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.
printer = None
else: