summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-18 19:55:59 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2014-01-18 19:55:59 +0100
commit4fdbfe6bef1313037f217230c19f484944d40d65 (patch)
tree0bdc8a2fe09ced1c2991c0499f27c3c427612148
parentsome fixes for new dl manager (diff)
downloadpyload-4fdbfe6bef1313037f217230c19f484944d40d65.tar.xz
additional fix
-rw-r--r--pyload/DownloadManager.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pyload/DownloadManager.py b/pyload/DownloadManager.py
index 55e499bc7..04c8d4467 100644
--- a/pyload/DownloadManager.py
+++ b/pyload/DownloadManager.py
@@ -97,7 +97,7 @@ class DownloadManager:
@lock
def startDecrypterThread(self, info):
""" Start decrypting of entered data, all links in one package are accumulated to one thread."""
- self.decrypter.append(DecrypterThread(self, [(info.download.plugin, info.download.url)], info.pid))
+ self.decrypter.append(DecrypterThread(self, [(info.download.plugin, info.download.url)], info.package))
@read_lock
def activeDownloads(self, uid=None):
@@ -120,7 +120,7 @@ class DownloadManager:
def processingIds(self):
"""get a id list of all pyfiles processed"""
- return [x.id for x in self.activeDownloads(None)]
+ return [x.fid for x in self.activeDownloads(None)]
@read_lock
def abort(self):