mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
domain: type fix
This commit is contained in:
parent
3cae07970e
commit
66cb855c0c
1 changed files with 2 additions and 2 deletions
|
@ -753,10 +753,10 @@ class DomainConfigPanel(ConfigPanel):
|
|||
# that can be read by the portal API.
|
||||
# FIXME remove those from the config panel saved values?
|
||||
|
||||
portal_values = form.dict(include=portal_options)
|
||||
portal_values = form.dict(include=set(portal_options))
|
||||
|
||||
portal_settings_path = Path(f"{PORTAL_SETTINGS_DIR}/{self.entity}.json")
|
||||
portal_settings = {"apps": {}}
|
||||
portal_settings: dict[str, Any] = {"apps": {}}
|
||||
|
||||
if portal_settings_path.exists():
|
||||
portal_settings.update(read_json(str(portal_settings_path)))
|
||||
|
|
Loading…
Add table
Reference in a new issue