From d63a9223d360d9a8bd3ae4edd34dc43c686b7205 Mon Sep 17 00:00:00 2001 From: Lance Edgar Date: Sun, 12 Jan 2025 17:11:46 -0600 Subject: [PATCH] fix: use default value for config settings --- src/wuttaweb/views/master.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wuttaweb/views/master.py b/src/wuttaweb/views/master.py index 6876603..cdea8c7 100644 --- a/src/wuttaweb/views/master.py +++ b/src/wuttaweb/views/master.py @@ -1224,7 +1224,7 @@ class MasterView(View): elif simple.get('type') is bool: value = self.config.get_bool(name, default=simple.get('default', False)) else: - value = self.config.get(name) + value = self.config.get(name, default=simple.get('default')) normalized[name] = value