diff options
| author | 2011-11-16 17:24:20 +0100 | |
|---|---|---|
| committer | 2011-11-16 17:24:20 +0100 | |
| commit | f2c55072eff8238b77bdcbf3d15a56be0a963609 (patch) | |
| tree | 51dcdc2ca7692883625d3672ead0476681ad529b /module | |
| parent | ignore old UnRar plugin (diff) | |
| download | pyload-f2c55072eff8238b77bdcbf3d15a56be0a963609.tar.xz | |
fix deprecation warning
Diffstat (limited to 'module')
| -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"]  | 
