From 618c03fc5c5b57c154772b1fd373004e186ae0f8 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 4 Jun 2009 13:46:44 +0200 Subject: remove links from txt + several improvments --- module/Py_Load_File.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'module/Py_Load_File.py') diff --git a/module/Py_Load_File.py b/module/Py_Load_File.py index 97479384c..9fcd554a5 100644 --- a/module/Py_Load_File.py +++ b/module/Py_Load_File.py @@ -11,7 +11,7 @@ class PyLoadFile: self.url = url self.filename = "filename" self.download_folder = "" - self.modul = __import__(self._get_my_plugin()) #maybe replace to prepare download + self.modul = __import__(self._get_my_plugin()) pluginClass = getattr(self.modul, self.modul.__name__) self.plugin = pluginClass(self) self.status = Status(self) @@ -22,7 +22,7 @@ class PyLoadFile: for plugin, plugin_pattern in self.parent.plugins_avaible.items(): if re.match(plugin_pattern, self.url) != None: return plugin - #logger: kein plugin gefunden # was soll passieren wenn nichts gefunden wird?!? + return "Plugin" def prepareDownload(self): -- cgit v1.2.3