summaryrefslogtreecommitdiffstats
path: root/pyload/threads/BaseThread.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-30 19:52:29 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2013-12-30 19:52:29 +0100
commit1e338a279aba747534fd1e7aedc8d7aec319f5f2 (patch)
tree87f809fabd8c11f45d193475937223bfd097e33c /pyload/threads/BaseThread.py
parentadded progress type enum, new DebugCrypter + Hoster, little improvements for ... (diff)
downloadpyload-1e338a279aba747534fd1e7aedc8d7aec319f5f2.tar.xz
show progress of decrypting and link checking, added indicator in link grabber
Diffstat (limited to 'pyload/threads/BaseThread.py')
-rw-r--r--pyload/threads/BaseThread.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/pyload/threads/BaseThread.py b/pyload/threads/BaseThread.py
index 9b4e5af67..a370bd661 100644
--- a/pyload/threads/BaseThread.py
+++ b/pyload/threads/BaseThread.py
@@ -30,6 +30,10 @@ class BaseThread(Thread):
def user(self):
return primary_uid(self.owner)
+ def finished(self):
+ """ Remove thread from list """
+ self.m.removeThread(self)
+
def getProgress(self):
""" retrieves progress information about the current running task