summaryrefslogtreecommitdiffstats
path: root/module/download_thread.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/download_thread.py')
-rw-r--r--module/download_thread.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/module/download_thread.py b/module/download_thread.py
index f4530c3b3..bb32030a7 100644
--- a/module/download_thread.py
+++ b/module/download_thread.py
@@ -40,7 +40,9 @@ class Status(object):
def get_speed(self):
return self.pyfile.plugin.req.get_speed()
def kB_left(self):
- return self.pyfile.plugins.req.kB_left()
+ return self.pyfile.plugin.req.kB_left()
+ def size(self):
+ return self.pyfile.plugin.req.dl_size / 1024
class Download_Thread(threading.Thread):