Fix more review comments

This commit is contained in:
ChrisTerBeke 2019-01-11 16:38:25 +01:00
parent 3c10cca0de
commit 7bbd43928a
5 changed files with 7 additions and 7 deletions

View file

@ -100,6 +100,8 @@ class CloudOutputDevice(NetworkedPrinterOutputDevice):
## Connects this device.
def connect(self) -> None:
if self.isConnected():
return
super().connect()
Logger.log("i", "Connected to cluster %s", self.key)
CuraApplication.getInstance().getBackend().backendStateChange.connect(self._onBackendStateChange)