summaryrefslogtreecommitdiffstats
path: root/Py_Load_File.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-19 16:26:37 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2009-05-19 16:26:37 +0200
commitb44f560c3a53c073a1290e3403ff76ebbe35e91b (patch)
tree595a55d2acd0670a313c58f0263dd3c15050e80a /Py_Load_File.py
parentrapidshare waits (diff)
downloadpyload-b44f560c3a53c073a1290e3403ff76ebbe35e91b.tar.xz
RapidshareCom läuft jetzt wieder.
Diffstat (limited to 'Py_Load_File.py')
-rw-r--r--Py_Load_File.py11
1 files changed, 6 insertions, 5 deletions
diff --git a/Py_Load_File.py b/Py_Load_File.py
index dc1c2ba75..157d51bfd 100644
--- a/Py_Load_File.py
+++ b/Py_Load_File.py
@@ -19,9 +19,10 @@ class PyLoadFile:
def prepareDownload(self):
- self.status.exists = True #self.plugin.file_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
+ 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