]> git.aero2k.de Git - urlbot-v3.git/commitdiff
python 3.5
authorThorsten <mail@aero2k.de>
Sat, 27 Jun 2020 17:17:41 +0000 (19:17 +0200)
committerThorsten <mail@aero2k.de>
Sat, 27 Jun 2020 17:17:41 +0000 (19:17 +0200)
distbot/bot/worker.py

index 2a86701a8b9079de44f1fc4c953fc2c43e40cb80..56946d06d656f0520f0e8303898f0814d0e671dd 100644 (file)
@@ -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__"]