From fb145cf68c0178b9551eaae3213ec01be112bf76 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 24 Sep 2012 15:41:13 +0200 Subject: fixed some things, so downloads works again --- module/plugins/Hoster.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/plugins/Hoster.py') diff --git a/module/plugins/Hoster.py b/module/plugins/Hoster.py index ad4f8f16b..1c53807b7 100644 --- a/module/plugins/Hoster.py +++ b/module/plugins/Hoster.py @@ -284,7 +284,7 @@ class Hoster(Base): try: newname = self.req.httpDownload(url, filename, get=get, post=post, ref=ref, cookies=cookies, chunks=self.getChunkCount(), resume=self.resumeDownload, - progressNotify=self.pyfile.setProgress, disposition=disposition) + disposition=disposition) finally: self.pyfile.size = self.req.size @@ -365,7 +365,7 @@ class Hoster(Base): pack = self.pyfile.package() - for pyfile in self.core.files.cache.values(): + for pyfile in self.core.files.cachedFiles(): if pyfile != self.pyfile and pyfile.name == self.pyfile.name and pyfile.package().folder == pack.folder: if pyfile.status in (0, 12): #finished or downloading raise SkipDownload(pyfile.pluginname) -- cgit v1.2.3