mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-06 22:47:29 -06:00
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:
parent
adc8072991
commit
c8e3c4ff12
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ class CloudOutputDevice(UltimakerNetworkedPrinterOutputDevice):
|
||||||
def supportsPrintJobQueue(self) -> bool:
|
def supportsPrintJobQueue(self) -> bool:
|
||||||
"""Gets whether the printer supports a queue"""
|
"""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:
|
def setJobState(self, print_job_uuid: str, state: str) -> None:
|
||||||
"""Set the remote print job state."""
|
"""Set the remote print job state."""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue