From ba84504faca42476cedeb717558b114f4084605b Mon Sep 17 00:00:00 2001 From: mkaay Date: Thu, 27 Jan 2011 14:49:40 +0100 Subject: progress update optimizations --- module/plugins/Plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'module/plugins/Plugin.py') diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index e1c24a7f6..3c0cabb54 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -330,7 +330,7 @@ class Plugin(object): name = self.pyfile.name filename = save_join(location, name) try: - self.req.httpDownload(url, filename, get=get, post=post, ref=ref, chunks=self.getChunkCount(), resume=self.resumeDownload) + self.req.httpDownload(url, filename, get=get, post=post, ref=ref, chunks=self.getChunkCount(), resume=self.resumeDownload, progressNotify=self.pyfile.progress.setValue) finally: self.pyfile.size = self.req.size -- cgit v1.2.3