summaryrefslogtreecommitdiffstats
path: root/pyload/DownloadManager.py
diff options
context:
space:
mode:
Diffstat (limited to 'pyload/DownloadManager.py')
-rw-r--r--pyload/DownloadManager.py3
1 files changed, 1 insertions, 2 deletions
diff --git a/pyload/DownloadManager.py b/pyload/DownloadManager.py
index 04c8d4467..6345f9519 100644
--- a/pyload/DownloadManager.py
+++ b/pyload/DownloadManager.py
@@ -72,7 +72,6 @@ class DownloadManager:
@lock
def stop(self, thread):
""" Removes a thread from all lists """
-
if thread in self.free:
self.free.remove(thread)
@@ -290,7 +289,7 @@ class DownloadManager:
occ = defaultdict(lambda: -1)
# decrypter are treated as occupied
for p in self.decrypter:
- progress = p.getProgressInfo()
+ progress = p.getProgress()
if progress:
occ[progress.plugin] = 0