Logging takes format params as a separate arg (commands.py)

This commit is contained in:
jesopo 2019-01-30 19:39:03 +00:00
parent 5dda000c96
commit a2e23acc61

View file

@ -223,8 +223,8 @@ class Module(ModuleManager.BaseModule):
stdout=stdout, stderr=stderr, command=command.lower(), stdout=stdout, stderr=stderr, command=command.lower(),
is_channel=is_channel) is_channel=is_channel)
self.log.trace("calling command '%s': %s" % (command, self.log.trace("calling command '%s': %s",
new_event.kwargs)) [command, new_event.kwargs])
try: try:
hook.call(new_event) hook.call(new_event)
except utils.EventError as e: except utils.EventError as e: