From: Thorsten Date: Sat, 27 Jun 2020 17:17:41 +0000 (+0200) Subject: python 3.5 X-Git-Url: https://git.aero2k.de/?a=commitdiff_plain;h=b6af4d45436c52834857e104683c61cb2bdc9381;p=urlbot-v3.git python 3.5 --- diff --git a/distbot/bot/worker.py b/distbot/bot/worker.py index 2a86701..56946d0 100644 --- a/distbot/bot/worker.py +++ b/distbot/bot/worker.py @@ -63,7 +63,7 @@ class Worker(threading.Thread): try: self.used_channel = method.routing_key.split(".") except TypeError as e: - logging.error(f"{str(method.routing_key)} is of type {type(method.routing_key)}") + logging.error("%s is of type %s", str(method.routing_key), type(method.routing_key)) logging.exception(e) self.used_channel = ["__error__"]