summaryrefslogtreecommitdiffstats
path: root/module/PyFile.py
diff options
context:
space:
mode:
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