aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar jesopo2019-07-15 14:27:55 +0100
committerGravatar jesopo2019-07-15 14:27:55 +0100
commit304fcdaebb4e8e4fb3db89fb58e8f593d45b5a0b (patch)
tree7101d0b5489beb0392f7b4f5332ed434feb5726c
parentuse "extended" tweet mode so long tweets are not truncated (diff)
signature
gotta str()-ify `kwargs` before logging it
-rw-r--r--src/EventManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/EventManager.py b/src/EventManager.py
index ab6e4034..6e227a28 100644
--- a/src/EventManager.py
+++ b/src/EventManager.py
@@ -149,11 +149,11 @@ class EventRoot(object):
path_str = self._path_str(path)
if not path_str in self._hooks:
self.log.trace("not calling non-hooked event \"%s\" (params: %s)",
- [path_str, kwargs])
+ [path_str, str(kwargs)])
return returns
self.log.trace("calling event: \"%s\" (params: %s)",
- [path_str, kwargs])
+ [path_str, str(kwargs)])
start = time.monotonic()
hooks = self._hooks[path_str]