From 641cd8c63f4c3a96a9acf4d46450ab975b9c66cd Mon Sep 17 00:00:00 2001 From: RaNaN Date: Wed, 20 May 2009 11:05:21 +0000 Subject: Neue Request Klasse eingebunden + ein paar Status Funktionen --- Py_Load_File.py | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 Py_Load_File.py (limited to 'Py_Load_File.py') diff --git a/Py_Load_File.py b/Py_Load_File.py deleted file mode 100644 index 157d51bfd..000000000 --- a/Py_Load_File.py +++ /dev/null @@ -1,28 +0,0 @@ -from download_thread import Status - -class PyLoadFile: - """ represents the url or file - """ - def __init__(self, parent, plugin, url): - self.parent = parent - self.id = None - pluginClass = getattr(plugin, plugin.__name__) - self.plugin = pluginClass(self) - self.url = url - 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.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 - -- cgit v1.2.3