diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-04 13:46:44 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2009-06-04 13:46:44 +0200 |
commit | 618c03fc5c5b57c154772b1fd373004e186ae0f8 (patch) | |
tree | fc6e14b69785a86e2b69d257685e182d23a434b3 /module/Py_Load_File.py | |
parent | removed test files (diff) | |
download | pyload-618c03fc5c5b57c154772b1fd373004e186ae0f8.tar.xz |
remove links from txt + several improvments
Diffstat (limited to 'module/Py_Load_File.py')
-rw-r--r-- | module/Py_Load_File.py | 4 |
1 files changed, 2 insertions, 2 deletions
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): |