diff options
Diffstat (limited to 'module/ConfigParser.py')
-rw-r--r-- | module/ConfigParser.py | 6 |
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)""" |