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

@ -67,7 +67,7 @@ class LocalClusterOutputDeviceManager:
## Add a networked printer manually by address.
def addManualDevice(self, address: str, callback: Optional[Callable[[bool, str], None]] = None) -> None:
api_client = ClusterApiClient(address, lambda error: Logger.log("e", error))
api_client = ClusterApiClient(address, lambda error: Logger.log("e", str(error)))
api_client.getSystem(lambda status: self._onCheckManualDeviceResponse(address, status, callback))
## Remove a manually added networked printer.