Commit 41fa3427 authored by Vincent Michel's avatar Vincent Michel

Work around ConfigParser.read bug

parent b3d5fe0d
Pipeline #896 passed with stages
in 1 minute and 17 seconds
......@@ -385,5 +385,5 @@ def get_config(filename):
config = configparser.ConfigParser(
comment_prefixes=['START', 'END', '#', '*****'])
# Read and parse
config.read(filename)
config.read([filename])
return {section: dict(config[section]) for section in config.sections()}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment