From 43f833e604fa51143ca926e75db93ee0fb8b412c Mon Sep 17 00:00:00 2001 From: shortcutme Date: Mon, 1 Jul 2019 16:20:13 +0200 Subject: [PATCH] Allow multiple values of same key in the config file --- src/Config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Config.py b/src/Config.py index 26671eb7..9cbbca00 100644 --- a/src/Config.py +++ b/src/Config.py @@ -409,7 +409,7 @@ class Config(object): self.config_file = argv[argv.index("--config_file") + 1] # Load config file if os.path.isfile(self.config_file): - config = configparser.ConfigParser(allow_no_value=True) + config = configparser.ConfigParser(allow_no_value=True, strict=False) config.read(self.config_file) for section in config.sections(): for key, val in config.items(section):