diff --git a/pytec/pytec/aioclient.py b/pytec/pytec/aioclient.py index 6fdfc60..d88ebfe 100644 --- a/pytec/pytec/aioclient.py +++ b/pytec/pytec/aioclient.py @@ -97,7 +97,7 @@ class Client: line = await asyncio.shield(self._read_write(command)) response = json.loads(line) - logging.debug(f"{command}: {response}") + logging.debug("%s: %s", command, response) if "error" in response: raise CommandError(response["error"]) return response