fix: use default value for config settings
This commit is contained in:
parent
4b7092bd0a
commit
d63a9223d3
|
@ -1224,7 +1224,7 @@ class MasterView(View):
|
||||||
elif simple.get('type') is bool:
|
elif simple.get('type') is bool:
|
||||||
value = self.config.get_bool(name, default=simple.get('default', False))
|
value = self.config.get_bool(name, default=simple.get('default', False))
|
||||||
else:
|
else:
|
||||||
value = self.config.get(name)
|
value = self.config.get(name, default=simple.get('default'))
|
||||||
|
|
||||||
normalized[name] = value
|
normalized[name] = value
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue