summaryrefslogtreecommitdiff
path: root/voctocore/lib/config.py
diff options
context:
space:
mode:
authorMaZderMind <peter@mazdermind.de>2014-08-24 15:36:26 +0200
committerMaZderMind <peter@mazdermind.de>2014-08-24 15:36:26 +0200
commit90001a38c03e41faeccd0b959753a00db670c61a (patch)
tree5b615386c6033fc40fa05c931ff4a435041f5183 /voctocore/lib/config.py
parente8775c12ff7027675a564cf722c7778ffd060cc9 (diff)
basic quadmix impl
Diffstat (limited to 'voctocore/lib/config.py')
-rw-r--r--voctocore/lib/config.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/voctocore/lib/config.py b/voctocore/lib/config.py
index b4c64aa..76f67b0 100644
--- a/voctocore/lib/config.py
+++ b/voctocore/lib/config.py
@@ -1,6 +1,11 @@
import os.path
from configparser import SafeConfigParser
+def getlist(self, section, option):
+ return [x.strip() for x in self.get(section, option).split(',')]
+
+SafeConfigParser.getlist = getlist
+
Config = SafeConfigParser()
Config.read([
'default-config.ini',