Fix renamed property connectionType

This commit is contained in:
ChrisTerBeke 2019-01-08 11:52:27 +01:00
parent a6114d39e4
commit 7c7bca31c7

View file

@ -118,7 +118,7 @@ class UM3OutputDevicePlugin(OutputDevicePlugin):
if key == um_network_key:
if not self._discovered_devices[key].isConnected():
Logger.log("d", "Attempting to connect with [%s]" % key)
active_machine.setMetaDataEntry("connection_type", self._discovered_devices[key].getConnectionType().value)
active_machine.setMetaDataEntry("connection_type", self._discovered_devices[key].connectionType.value)
self._discovered_devices[key].connect()
self._discovered_devices[key].connectionStateChanged.connect(self._onDeviceConnectionStateChanged)
else: