summaryrefslogtreecommitdiffstats
path: root/module/Py_Load_File.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-21 18:16:06 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-06-21 18:16:06 +0200
commit9a4f077714993bacb4418e7c5b4cb85f5d1601d1 (patch)
tree86e6951c572f3d1602872c6eb654d79a8e0dce99 /module/Py_Load_File.py
parentfixed no url return bug (diff)
downloadpyload-9a4f077714993bacb4418e7c5b4cb85f5d1601d1.tar.xz
plugin system changings
Diffstat (limited to 'module/Py_Load_File.py')
-rw-r--r--module/Py_Load_File.py10
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