summaryrefslogtreecommitdiffstats
path: root/pyload/manager/thread/Addon.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 01:21:41 +0200
committerGravatar Walter Purcaro <vuolter@users.noreply.github.com> 2015-04-17 01:21:41 +0200
commit20226f8cc5889efbefa61209e1adf6184d42cd00 (patch)
tree8f01af2c23465432f83481b656ed8c2743cb872a /pyload/manager/thread/Addon.py
parentSpare code cosmetics (2) (diff)
downloadpyload-20226f8cc5889efbefa61209e1adf6184d42cd00.tar.xz
Spare code cosmetics (3)
Diffstat (limited to 'pyload/manager/thread/Addon.py')
-rw-r--r--pyload/manager/thread/Addon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/manager/thread/Addon.py b/pyload/manager/thread/Addon.py
index f3d219989..1da164543 100644
--- a/pyload/manager/thread/Addon.py
+++ b/pyload/manager/thread/Addon.py
@@ -55,14 +55,14 @@ class AddonThread(PluginThread):
def run(self):
try:
try:
- self.kwargs["thread"] = self
+ self.kwargs['thread'] = self
self.f(*self.args, **self.kwargs)
except TypeError, e:
#dirty method to filter out exceptions
if "unexpected keyword argument 'thread'" not in e.args[0]:
raise
- del self.kwargs["thread"]
+ del self.kwargs['thread']
self.f(*self.args, **self.kwargs)
finally:
local = copy(self.active)