From aece53b1519c029d71fd1fe9807f460ebc234def Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 8 Aug 2025 17:20:32 +0100 Subject: [PATCH] Check that config exists --- utils.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/utils.py b/utils.py index f5d05697c..260b18576 100644 --- a/utils.py +++ b/utils.py @@ -741,6 +741,8 @@ def set_config_param(base_dir: str, variable_name: str, config_json = {} if os.path.isfile(config_filename): config_json = load_json(config_filename) + if config_json is None: + config_json = {} variable_name = _convert_to_camel_case(variable_name) if not variable_name: return