summaryrefslogtreecommitdiffstats
path: root/module/PyFile.py
diff options
context:
space:
mode:
authorGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-22 20:04:29 +0100
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-11-22 20:04:29 +0100
commit0de6e675bb0c5a4adb79d16df55ada3071825ad5 (patch)
tree9ff782ba4c41873c8c7d06b239166d8a0806b335 /module/PyFile.py
parentRevert plugins to stable (diff)
downloadpyload-0de6e675bb0c5a4adb79d16df55ada3071825ad5.tar.xz
Revert remaining modules
Diffstat (limited to 'module/PyFile.py')
-rw-r--r--module/PyFile.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/module/PyFile.py b/module/PyFile.py
index 9e20ceab4..3dede9360 100644
--- a/module/PyFile.py
+++ b/module/PyFile.py
@@ -251,7 +251,7 @@ class PyFile(object):
def getBytesLeft(self):
""" gets bytes left """
try:
- return self.getSize() - self.plugin.req.arrived
+ return self.plugin.req.size - self.plugin.req.arrived
except:
return 0