From a2e23acc61746ced2e5206addd8d467bdadb8383 Mon Sep 17 00:00:00 2001 From: jesopo Date: Wed, 30 Jan 2019 19:39:03 +0000 Subject: [PATCH] Logging takes format params as a separate arg (commands.py) --- modules/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/commands.py b/modules/commands.py index 53feb2d4..88041791 100644 --- a/modules/commands.py +++ b/modules/commands.py @@ -223,8 +223,8 @@ class Module(ModuleManager.BaseModule): stdout=stdout, stderr=stderr, command=command.lower(), is_channel=is_channel) - self.log.trace("calling command '%s': %s" % (command, - new_event.kwargs)) + self.log.trace("calling command '%s': %s", + [command, new_event.kwargs]) try: hook.call(new_event) except utils.EventError as e: