mirror of
https://git.mirrors.martin98.com/https://github.com/Ultimaker/Cura
synced 2025-04-29 07:14:24 +08: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
@ -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…
x
Reference in New Issue
Block a user