diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-23 12:22:15 +0100 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-12-23 12:22:15 +0100 |
commit | 023cd7cb92a79e84c038869bdafee3f2ee003159 (patch) | |
tree | 24b13bc08c01ead22188813213eceaee97d7d227 /module/plugins | |
parent | fixed eta and progress, ready for first test (diff) | |
download | pyload-023cd7cb92a79e84c038869bdafee3f2ee003159.tar.xz |
fixed setting download size
Diffstat (limited to 'module/plugins')
-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 0406923c0..6a7ec5b14 100644 --- a/module/plugins/Plugin.py +++ b/module/plugins/Plugin.py @@ -337,7 +337,7 @@ class Plugin(object): self.pyfile.download = None newname = basename(filename) - self.pyfile.size = self.req.dl_size + self.pyfile.size = d.size if newname and newname != name: self.log.info("%(name)s saved as %(newname)s" % {"name": name, "newname": newname}) |