summaryrefslogtreecommitdiffstats
path: root/module/PluginManager.py
diff options
context:
space:
mode:
authorGravatar spoob <spoob@gmx.de> 2010-09-13 22:22:53 +0200
committerGravatar spoob <spoob@gmx.de> 2010-09-13 22:22:53 +0200
commit54fd4f87c48820742d2ad963d43c4f84e0de2eb8 (patch)
treea1be9e41fb5e897737d7705eab36ea03202b499f /module/PluginManager.py
parentnew package ui for webif (diff)
downloadpyload-54fd4f87c48820742d2ad963d43c4f84e0de2eb8.tar.xz
better rs server select
Diffstat (limited to 'module/PluginManager.py')
-rw-r--r--module/PluginManager.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/module/PluginManager.py b/module/PluginManager.py
index 29c01ce21..ae516e0ec 100644
--- a/module/PluginManager.py
+++ b/module/PluginManager.py
@@ -165,12 +165,14 @@ class PluginManager():
config = self.reConfig.findall(content)
if config:
- config = [ [y.strip() for y in x.replace("'","").replace('"',"").replace(")","").split(",")] for x in config[0].split("(") if x.strip()]
-
+ print config
+ config = [ [y.strip() for y in x.replace("'","").replace('"',"").replace("\") ","").split(",")] for x in config[0].split(" (\"") if x.strip()]
+ print config
if folder == "hooks":
config.append( ["load", "bool", "Load on startup", True if name not in ("XMPPInterface", "MultiHome") else False] )
for item in config:
+ #~ print item
self.core.config.addPluginConfig([name]+item)
if not home: