configpanels: avoid settings being None when empty

This commit is contained in:
axolotle 2024-01-19 13:20:45 +01:00
parent 13638b0aa8
commit 94d16d6d76

View file

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