diff options
Diffstat (limited to 'module')
-rw-r--r-- | module/Py_Load_File.py | 4 | ||||
-rw-r--r-- | module/download_thread.py | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/module/Py_Load_File.py b/module/Py_Load_File.py index 4a15cd990..4eee82f91 100644 --- a/module/Py_Load_File.py +++ b/module/Py_Load_File.py @@ -6,10 +6,10 @@ class PyLoadFile: def __init__(self, parent, plugin, url): self.parent = parent self.id = None - pluginClass = getattr(plugin, plugin.__name__) + pluginClass = getattr(plugin, plugin.__name__) self.plugin = pluginClass(self) self.url = url - self.filename = "filename" + self.filename = "filename" self.download_folder = "" self.status = Status(self) diff --git a/module/download_thread.py b/module/download_thread.py index f6f43a295..171969c64 100644 --- a/module/download_thread.py +++ b/module/download_thread.py @@ -60,12 +60,12 @@ class Status(object): def set_status_queue(self, queue): self.status_queue = queue - def getETA(): - return self.pyfile.plugin.req.getETA() - def getSpeed(): - return self.pyfile.plugin.req.getSpeed() - def kBleft(): - return self.pyfile.plugins.req.kBleft() + def get_ETA(self): + return self.pyfile.plugin.req.get_ETA() + def get_speed(self): + return self.pyfile.plugin.req.get_speed() + def kB_left(): + return self.pyfile.plugins.req.kB_left() class Download_Thread(threading.Thread): |