diff --git a/src/utils/configpanel.py b/src/utils/configpanel.py index 07757594f..80a156b2a 100644 --- a/src/utils/configpanel.py +++ b/src/utils/configpanel.py @@ -699,7 +699,7 @@ class ConfigPanel: if not self.save_path or not os.path.exists(self.save_path): return {} - return read_yaml(self.save_path) + return read_yaml(self.save_path) or {} def _get_partial_raw_config(self) -> "RawConfig": def filter_keys(