summaryrefslogtreecommitdiffstats
path: root/Py_Load_File.py
diff options
context:
space:
mode:
Diffstat (limited to 'Py_Load_File.py')
-rw-r--r--Py_Load_File.py7
1 files changed, 4 insertions, 3 deletions
diff --git a/Py_Load_File.py b/Py_Load_File.py
index 1d20e05e0..dc1c2ba75 100644
--- a/Py_Load_File.py
+++ b/Py_Load_File.py
@@ -9,7 +9,6 @@ class PyLoadFile:
pluginClass = getattr(plugin, plugin.__name__)
self.plugin = pluginClass(self)
self.url = url
- self.dl = None
self.filename = "filename"
self.download_folder = ""
self.status = Status(self.id)
@@ -20,7 +19,9 @@ class PyLoadFile:
def prepareDownload(self):
- self.status.exist = True #self.plugin.file_exists()
+ 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.dl = self.plugin.get_file_url()
+ self.status.url = self.plugin.get_file_url()
+ self.status.want_reconnect = self.plugin.want_reconnect
+