diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-12 15:36:48 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-12 15:36:48 +0200 |
commit | 979daf6a4daae605b2a39e916c16015437fac98d (patch) | |
tree | 7f40809a692548717c778ec723fd1fced09cf539 /module/download_thread.py | |
parent | utf-8 encodung, correcting file header (diff) | |
download | pyload-979daf6a4daae605b2a39e916c16015437fac98d.tar.xz |
little fixes
Diffstat (limited to 'module/download_thread.py')
-rw-r--r-- | module/download_thread.py | 4 |
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): |