summaryrefslogtreecommitdiffstats
path: root/module/PluginManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-30 21:35:29 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-07-30 21:35:29 +0200
commit2497c100de34c113304227f72015bfb3755854a3 (patch)
treee382f92368a37d623f5aea5d02609a13a1c338d8 /module/PluginManager.py
parentrestart working and client information (diff)
downloadpyload-2497c100de34c113304227f72015bfb3755854a3.tar.xz
daily commit
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r--module/PluginManager.py7
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"]