diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-05 23:48:17 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-09-05 23:48:17 +0200 |
commit | c6bae348fa3c5f40d67e2076e4c1ceee42a3bc4b (patch) | |
tree | fa1b8009d027a20d52ea67874ab38a919d2a232e /module | |
parent | MU fix + others (diff) | |
download | pyload-c6bae348fa3c5f40d67e2076e4c1ceee42a3bc4b.tar.xz |
gui fix, plugin with no main function fix
Diffstat (limited to 'module')
-rw-r--r-- | module/PluginThread.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/module/PluginThread.py b/module/PluginThread.py index e6e0c50c7..81cf24e8c 100644 --- a/module/PluginThread.py +++ b/module/PluginThread.py @@ -140,6 +140,11 @@ class DownloadThread(PluginThread): except NotImplementedError: self.m.log.error(_("Plugin %s is missing a function.") % pyfile.pluginname) + pyfile.setStatus("failed") + pyfile.error = "Plugin does not work" + pyfile.plugin.req.clean() + self.active = False + pyfile.release() continue except Abort: |