summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--module/PluginThread.py12
-rw-r--r--module/plugins/Plugin.py1
2 files changed, 6 insertions, 7 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py
index 1cb1dd8ea..5f311aa07 100644
--- a/module/PluginThread.py
+++ b/module/PluginThread.py
@@ -153,13 +153,13 @@ class DownloadThread(PluginThread):
self.m.core.hookManager.downloadStarts(pyfile)
pyfile.plugin.preprocessing(self)
- # except NotImplementedError:
+ except NotImplementedError:
- # self.m.log.error(_("Plugin %s is missing a function.") % pyfile.pluginname)
- # pyfile.setStatus("failed")
- # pyfile.error = "Plugin does not work"
- # self.clean(pyfile)
- # continue
+ self.m.log.error(_("Plugin %s is missing a function.") % pyfile.pluginname)
+ pyfile.setStatus("failed")
+ pyfile.error = "Plugin does not work"
+ self.clean(pyfile)
+ continue
except Abort:
try:
diff --git a/module/plugins/Plugin.py b/module/plugins/Plugin.py
index 2ed83a64a..9caf4d81a 100644
--- a/module/plugins/Plugin.py
+++ b/module/plugins/Plugin.py
@@ -159,7 +159,6 @@ class Plugin(object):
#----------------------------------------------------------------------
def process(self, pyfile):
"""the 'main' method of every plugin, you **have to** overwrite it"""
- print "mmh:("
raise NotImplementedError
def resetAccount(self):