mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
configpanels: avoid settings being None when empty
This commit is contained in:
parent
13638b0aa8
commit
94d16d6d76
1 changed files with 1 additions and 1 deletions
|
@ -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(
|
||||
|
|
Loading…
Add table
Reference in a new issue