summaryrefslogtreecommitdiffstats
path: root/module/PluginThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-16 17:24:20 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-11-16 17:24:20 +0100
commitf2c55072eff8238b77bdcbf3d15a56be0a963609 (patch)
tree51dcdc2ca7692883625d3672ead0476681ad529b /module/PluginThread.py
parentignore old UnRar plugin (diff)
downloadpyload-f2c55072eff8238b77bdcbf3d15a56be0a963609.tar.xz
fix deprecation warning
Diffstat (limited to 'module/PluginThread.py')
-rw-r--r--module/PluginThread.py2
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"]