mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Missing name or bad format management
This commit is contained in:
parent
ed0915cf81
commit
65fc06e3e7
1 changed files with 2 additions and 2 deletions
|
@ -2152,7 +2152,7 @@ def _get_app_config_panel(app_id):
|
|||
for key, value in panels:
|
||||
panel = {
|
||||
"id": key,
|
||||
"name": value["name"],
|
||||
"name": value.get("name", ""),
|
||||
"sections": [],
|
||||
}
|
||||
|
||||
|
@ -2165,7 +2165,7 @@ def _get_app_config_panel(app_id):
|
|||
for section_key, section_value in sections:
|
||||
section = {
|
||||
"id": section_key,
|
||||
"name": section_value["name"],
|
||||
"name": section_value.get("name", ""),
|
||||
"options": [],
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue