summaryrefslogtreecommitdiffstats
path: root/module
diff options
context:
space:
mode:
Diffstat (limited to 'module')
-rw-r--r--module/XMLConfigParser.py7
1 files changed, 5 insertions, 2 deletions
diff --git a/module/XMLConfigParser.py b/module/XMLConfigParser.py
index 6396122f4..ea664e221 100644
--- a/module/XMLConfigParser.py
+++ b/module/XMLConfigParser.py
@@ -180,9 +180,12 @@ class XMLConfigParser():
return "str"
def getInputValues(self, section, option):
- if not self.data[section]["options"][option]["input"]:
+ try:
+ if not self.data[section]["options"][option]["input"]:
+ return []
+ return self.data[section]["options"][option]["input"].split(";")
+ except:
return []
- return self.data[section]["options"][option]["input"].split(";")
def getDisplayName(self, section, option=None):
try: