diff options
author | Walter Purcaro <vuolter@gmail.com> | 2014-11-22 20:04:29 +0100 |
---|---|---|
committer | Walter Purcaro <vuolter@gmail.com> | 2014-11-22 20:04:29 +0100 |
commit | 0de6e675bb0c5a4adb79d16df55ada3071825ad5 (patch) | |
tree | 9ff782ba4c41873c8c7d06b239166d8a0806b335 /module/PyFile.py | |
parent | Revert plugins to stable (diff) | |
download | pyload-0de6e675bb0c5a4adb79d16df55ada3071825ad5.tar.xz |
Revert remaining modules
Diffstat (limited to 'module/PyFile.py')
-rw-r--r-- | module/PyFile.py | 2 |
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 |