summaryrefslogtreecommitdiffstats
path: root/module/plugins/Plugin.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/plugins/Plugin.py')
-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})