mirror of
https://github.com/Ultimaker/Cura.git
synced 2025-07-07 23:17:32 -06:00
Fix more review comments
This commit is contained in:
parent
3c10cca0de
commit
7bbd43928a
5 changed files with 7 additions and 7 deletions
|
@ -131,8 +131,7 @@ class CloudOutputDeviceManager:
|
|||
|
||||
## Connects to an output device and makes sure it is registered in the output device manager.
|
||||
def _connectToOutputDevice(self, device: CloudOutputDevice) -> None:
|
||||
if not device.isConnected():
|
||||
device.connect()
|
||||
device.connect()
|
||||
self._output_device_manager.addOutputDevice(device)
|
||||
|
||||
## Handles an API error received from the cloud.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue