From b6af4d45436c52834857e104683c61cb2bdc9381 Mon Sep 17 00:00:00 2001 From: Thorsten Date: Sat, 27 Jun 2020 19:17:41 +0200 Subject: [PATCH] python 3.5 --- distbot/bot/worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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__"] -- 2.39.2