mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-09 07:56:22 -06:00
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:
parent
eb3777ed9f
commit
05ca0b372a
1 changed files with 2 additions and 1 deletions
|
@ -299,7 +299,8 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
|
||||||
self.printJobsChanged.emit()
|
self.printJobsChanged.emit()
|
||||||
|
|
||||||
def _addPrintJob(self, job: CloudClusterPrintJob) -> None:
|
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:
|
try:
|
||||||
printer = next(p for p in self._printers if job.printer_uuid == p.key or job.assigned_to == p.key)
|
printer = next(p for p in self._printers if job.printer_uuid == p.key or job.assigned_to == p.key)
|
||||||
except StopIteration:
|
except StopIteration:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue