summaryrefslogtreecommitdiffstats
path: root/module/Py_Load_File.py
diff options
context:
space:
mode:
Diffstat (limited to 'module/Py_Load_File.py')
-rw-r--r--module/Py_Load_File.py4
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):