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

@ -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.