From 90001a38c03e41faeccd0b959753a00db670c61a Mon Sep 17 00:00:00 2001 From: MaZderMind Date: Sun, 24 Aug 2014 15:36:26 +0200 Subject: basic quadmix impl --- voctocore/lib/config.py | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'voctocore/lib/config.py') 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', -- cgit v1.2.3