summaryrefslogtreecommitdiffstats
path: root/module/plugins
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-23 12:22:15 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-23 12:22:15 +0100
commit023cd7cb92a79e84c038869bdafee3f2ee003159 (patch)
tree24b13bc08c01ead22188813213eceaee97d7d227 /module/plugins
parentfixed eta and progress, ready for first test (diff)
downloadpyload-023cd7cb92a79e84c038869bdafee3f2ee003159.tar.xz
fixed setting download size
Diffstat (limited to 'module/plugins')
-rw-r--r--module/plugins/Plugin.py2
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})