summaryrefslogtreecommitdiffstats
path: root/module/ConfigParser.py
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-01 12:12:26 +0100
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-01-01 12:12:26 +0100
commit76d5c10380fec15e5e8800ace91597041f814a96 (patch)
tree2d0af1110a67b1a5b3bf77efa698135a18962272 /module/ConfigParser.py
parentMU premium lifetime fix (diff)
downloadpyload-76d5c10380fec15e5e8800ace91597041f814a96.tar.xz
Happy new Year !!!
Diffstat (limited to 'module/ConfigParser.py')
-rw-r--r--module/ConfigParser.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/module/ConfigParser.py b/module/ConfigParser.py
index ccf6f08d1..0d681551a 100644
--- a/module/ConfigParser.py
+++ b/module/ConfigParser.py
@@ -325,7 +325,11 @@ class ConfigParser:
self.plugin[plugin][option]["value"] = value
self.save()
-
+
+ def getMetaData(self, section, option):
+ """ get all config data for an option """
+ return self.config[section][option]
+
#----------------------------------------------------------------------
def addPluginConfig(self, config):
"""adds config option with tuple (plugin, name, type, desc, default)"""