Fix parsing config file with % in value

This commit is contained in:
shortcutme 2019-07-17 16:30:32 +02:00
parent c502688ce3
commit 314c8b22db
No known key found for this signature in database
GPG Key ID: 5B63BAE6CB9613AE
1 changed files with 1 additions and 1 deletions

View File

@ -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):