diff options
Diffstat (limited to 'module/Py_Load_File.py')
-rw-r--r-- | module/Py_Load_File.py | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/module/Py_Load_File.py b/module/Py_Load_File.py index 2bc6d4965..570e605cd 100644 --- a/module/Py_Load_File.py +++ b/module/Py_Load_File.py @@ -28,16 +28,10 @@ class PyLoadFile: return "Plugin" - def prepareDownload(self): + def init_download(self): if self.parent.config['useproxy']: self.plugin.req.add_proxy(self.parent.config['proxyprotocol'], self.parent.config['proxyadress']) - self.plugin.want_reconnect = False + #@todo: check dependicies, ocr etc - self.status.exists = self.plugin.file_exists() - if self.status.exists: - self.status.filename = self.plugin.get_file_name() - self.status.waituntil = self.plugin.time_plus_wait - self.status.url = self.plugin.get_file_url() - self.status.want_reconnect = self.plugin.want_reconnect |