Correct type of logged item

This commit is contained in:
Ghostkeeper 2019-09-12 15:58:09 +02:00
parent 3a3aeb92a9
commit b8ab04df4a
No known key found for this signature in database
GPG key ID: 86BEF881AE2CF276
3 changed files with 3 additions and 3 deletions

View file

@ -38,7 +38,7 @@ class CloudOutputDeviceManager:
# Persistent dict containing the remote clusters for the authenticated user.
self._remote_clusters = {} # type: Dict[str, CloudOutputDevice]
self._account = CuraApplication.getInstance().getCuraAPI().account # type: Account
self._api = CloudApiClient(self._account, on_error = lambda error: Logger.log("e", error))
self._api = CloudApiClient(self._account, on_error = lambda error: Logger.log("e", str(error)))
self._account.loginStateChanged.connect(self._onLoginStateChanged)
# Create a timer to update the remote cluster list