From 45186b775ba6cac2d659d14210f7d1c9bbcc2a89 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Mon, 18 May 2009 22:07:08 +0000 Subject: funzt im moment nicht, aber ich arbeite daran --- Py_Load_File.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'Py_Load_File.py') diff --git a/Py_Load_File.py b/Py_Load_File.py index 6463379a1..1d20e05e0 100644 --- a/Py_Load_File.py +++ b/Py_Load_File.py @@ -9,12 +9,18 @@ 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) + def _get_my_plugin(): plugins = parent.get_avail_plugins() - + def prepareDownload(self): + self.status.exist = 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() -- cgit v1.2.3