3
0
Fork 0

fix: use default value for config settings

This commit is contained in:
Lance Edgar 2025-01-12 17:11:46 -06:00
parent 4b7092bd0a
commit d63a9223d3

View file

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