diff options
Diffstat (limited to 'module/plugins/Plugin.py')
-rw-r--r-- | module/plugins/Plugin.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py index 4af3d0d8b..0406923c0 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -331,7 +331,10 @@ class Plugin(object): name = self.pyfile.name.encode(sys.getfilesystemencoding(), "replace") filename = join(location, name) d = self.req.httpDownload(url, filename, get=get, post=post, chunks=self.getChunkCount(), resume=self.resumeDownload) + self.pyfile.download = d + d.addProgress("percent", self.pyfile.progress.setValue) waitFor(d) + self.pyfile.download = None newname = basename(filename) self.pyfile.size = self.req.dl_size |