diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-07-30 21:35:29 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2010-07-30 21:35:29 +0200 |
commit | 2497c100de34c113304227f72015bfb3755854a3 (patch) | |
tree | e382f92368a37d623f5aea5d02609a13a1c338d8 /module/PluginManager.py | |
parent | restart working and client information (diff) | |
download | pyload-2497c100de34c113304227f72015bfb3755854a3.tar.xz |
daily commit
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r-- | module/PluginManager.py | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/module/PluginManager.py b/module/PluginManager.py index cdb3548cb..7ed7d3788 100644 --- a/module/PluginManager.py +++ b/module/PluginManager.py @@ -110,7 +110,7 @@ class PluginManager(): if pattern: pattern = pattern[0][1] else: - pattern = "unmachtable" + pattern = "^unmachtable$" plugins[name]["pattern"] = pattern @@ -176,11 +176,8 @@ class PluginManager(): plugin = self.crypterPlugins[name] if self.hosterPlugins.has_key(name): plugin = self.hosterPlugins[name] - - if not plugin: - plugin = __import__("module.plugins.hoster.BasePlugin", fromlist=[]) - return plugin + if plugin.has_key("module"): return plugin["module"] |