diff options
author | mkaay <mkaay@mkaay.de> | 2011-01-27 14:49:40 +0100 |
---|---|---|
committer | mkaay <mkaay@mkaay.de> | 2011-01-27 14:49:40 +0100 |
commit | ba84504faca42476cedeb717558b114f4084605b (patch) | |
tree | 47fc38486c75ab423d60ca5a305b31ee05a950e6 /module/plugins/Plugin.py | |
parent | some improvements (diff) | |
download | pyload-ba84504faca42476cedeb717558b114f4084605b.tar.xz |
progress update optimizations
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 2 |
1 files changed, 1 insertions, 1 deletions
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 |