summaryrefslogtreecommitdiffstats
path: root/module/PyFile.py
diff options
context:
space:
mode:
authorGravatar estaban <babedoudi@yahoo.fr> 2014-08-30 19:10:35 +0200
committerGravatar Walter Purcaro <vuolter@gmail.com> 2014-08-30 19:10:35 +0200
commite662a12012a8528edf307a437f1b9677a53d96df (patch)
tree5fa5b930472c28beafcfb56f442f3aa09622b1e9 /module/PyFile.py
parent__init__ shebangs (diff)
downloadpyload-e662a12012a8528edf307a437f1b9677a53d96df.tar.xz
Fix resume and progress column for some FTP files
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 b5dabaabf..69ccc4baf 100644
--- a/module/PyFile.py
+++ b/module/PyFile.py
@@ -250,7 +250,7 @@ class PyFile(object):
def getBytesLeft(self):
""" gets bytes left """
try:
- return self.plugin.req.size - self.plugin.req.arrived
+ return self.getSize() - self.plugin.req.arrived
except:
return 0