Allow multiple values of same key in the config file
This commit is contained in:
parent
612a3f4401
commit
43f833e604
1 changed files with 1 additions and 1 deletions
|
@ -409,7 +409,7 @@ class Config(object):
|
||||||
self.config_file = argv[argv.index("--config_file") + 1]
|
self.config_file = argv[argv.index("--config_file") + 1]
|
||||||
# Load config file
|
# Load config file
|
||||||
if os.path.isfile(self.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)
|
config.read(self.config_file)
|
||||||
for section in config.sections():
|
for section in config.sections():
|
||||||
for key, val in config.items(section):
|
for key, val in config.items(section):
|
||||||
|
|
Loading…
Reference in a new issue