Display the queue by default if there are no capabilities

If the capabilities list is missing, display the queue anyway, even if it is always empty

CURA-7784
This commit is contained in:
Kostas Karmas 2020-10-30 12:49:39 +01:00
parent adc8072991
commit c8e3c4ff12

View File

@ -291,7 +291,7 @@ class CloudOutputDevice(UltimakerNetworkedPrinterOutputDevice):
def supportsPrintJobQueue(self) -> bool:
"""Gets whether the printer supports a queue"""
return "queue" in self._cluster.capabilities if self._cluster.capabilities else False
return "queue" in self._cluster.capabilities if self._cluster.capabilities else True
def setJobState(self, print_job_uuid: str, state: str) -> None:
"""Set the remote print job state."""