summaryrefslogtreecommitdiffstats
path: root/pyload/threads/AddonThread.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/threads/AddonThread.py')
-rw-r--r--pyload/threads/AddonThread.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/threads/AddonThread.py b/pyload/threads/AddonThread.py
index d8d84cbfa..c82045803 100644
--- a/pyload/threads/AddonThread.py
+++ b/pyload/threads/AddonThread.py
@@ -21,7 +21,7 @@ class AddonThread(BaseThread):
self.active = []
self.progress = 0
- m.localThreads.append(self)
+ m.addThread(self)
self.start()
@@ -76,4 +76,4 @@ class AddonThread(BaseThread):
for x in local:
self.finishFile(x)
- self.m.localThreads.remove(self) \ No newline at end of file
+ self.finished() \ No newline at end of file