summaryrefslogtreecommitdiffstats
path: root/module/plugins/PluginManager.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 22:22:50 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2010-12-29 22:22:50 +0100
commit3c85d66783b0f03a36d36356ecdebf17754f75ec (patch)
tree75730b2e8edb16504c0f16a29d98eea6e3d0b91c /module/plugins/PluginManager.py
parentfixed MultiHome (diff)
downloadpyload-3c85d66783b0f03a36d36356ecdebf17754f75ec.tar.xz
MU free fixed
Diffstat (limited to 'module/plugins/PluginManager.py')
-rw-r--r--module/plugins/PluginManager.py18
1 files changed, 4 insertions, 14 deletions
diff --git a/module/plugins/PluginManager.py b/module/plugins/PluginManager.py
index 52712f160..10604dc9b 100644
--- a/module/plugins/PluginManager.py
+++ b/module/plugins/PluginManager.py
@@ -36,9 +36,7 @@ try:
except ImportError: # python 2.5
from module.SafeEval import safe_eval as literal_eval
-
-IGNORE = ["FreakshareNet", "SpeedManager"]
-#ignore this plugins in homefolder, add deleted plugins here
+from module.ConfigParser import IGNORE
class PluginManager():
def __init__(self, core):
@@ -53,17 +51,9 @@ class PluginManager():
self.captchaPlugins = {}
self.accountPlugins = {}
self.hookPlugins = {}
-
- self.createHomeDirs()
-
+
self.createIndex()
-
- #@TODO plugin updater
- #----------------------------------------------------------------------
- def createHomeDirs(self):
- """create homedirectories containing plugins"""
- #@TODO implement...
- pass
+
def createIndex(self):
"""create information for all plugins available"""
@@ -170,7 +160,7 @@ class PluginManager():
try:
plugins[name]["re"] = re.compile(pattern)
except:
- self.log.error(_("%s has invalid pattern.") % name)
+ self.log.error(_("%s has a invalid pattern.") % name)
config = self.reConfig.findall(content)