From 4fdbfe6bef1313037f217230c19f484944d40d65 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 18 Jan 2014 19:55:59 +0100 Subject: additional fix --- pyload/DownloadManager.py | 4 ++-- 1 file 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): -- cgit v1.2.3