Commit 7c539f0f authored by Julien Muchembled's avatar Julien Muchembled

Fix parsing of boolean options from config file

parent ef95d4fe
......@@ -82,7 +82,7 @@ class BoolOption(_Option):
return value
def fromConfigFile(self, cfg, section):
return cfg.getboolean(section, self.name)
return cfg.getboolean(section, self.name.replace('-', '_'))
class Option(_Option):
......
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