diff options
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r-- | module/PluginThread.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index c4bdd59c8..56c36c778 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -459,7 +459,7 @@ class HookThread(PluginThread): self.f(*self.args, **self.kwargs) except TypeError, e: #dirty method to filter out exceptions - if "unexpected keyword argument 'thread'" not in e.message: + if "unexpected keyword argument 'thread'" not in e.args[0]: raise del self.kwargs["thread"] |