From 76d5c10380fec15e5e8800ace91597041f814a96 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 1 Jan 2011 12:12:26 +0100 Subject: Happy new Year !!! --- module/ConfigParser.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'module/ConfigParser.py') 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)""" -- cgit v1.2.3