Fix parsing config file with % in value
This commit is contained in:
parent
c502688ce3
commit
314c8b22db
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]
|
||||
# Load config file
|
||||
if os.path.isfile(self.config_file):
|
||||
config = configparser.ConfigParser(allow_no_value=True, strict=False)
|
||||
config = configparser.RawConfigParser(allow_no_value=True, strict=False)
|
||||
config.read(self.config_file)
|
||||
for section in config.sections():
|
||||
for key, val in config.items(section):
|
||||
|
|
Loading…
Reference in a new issue