Updated TODO, printjobs are not displayed in the monitor page because

data returned from cura connect api contains None's instead of printer
uuid's
This commit is contained in:
Marijn Deé 2018-12-06 14:04:12 +01:00
parent eb3777ed9f
commit 05ca0b372a

View file

@ -299,7 +299,8 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
self.printJobsChanged.emit()
def _addPrintJob(self, job: CloudClusterPrintJob) -> None:
# TODO: somehow we don't see the queued print jobs on the monitor page yet, we have to figure out why.
# TODO: we don't see the queued print jobs on the monitor page yet because job.printer_uuid and job.assigned_to
# are always None
try:
printer = next(p for p in self._printers if job.printer_uuid == p.key or job.assigned_to == p.key)
except StopIteration: