mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[enh] handle other kinds of type than boolean in config panel
This commit is contained in:
parent
8027e92683
commit
7db63b8221
1 changed files with 2 additions and 0 deletions
|
@ -1647,6 +1647,8 @@ def app_config_show_panel(app):
|
||||||
option["default"] = parsed_values[generated_name]
|
option["default"] = parsed_values[generated_name]
|
||||||
else:
|
else:
|
||||||
del option["default"]
|
del option["default"]
|
||||||
|
else:
|
||||||
|
option["default"] = parsed_values[generated_name]
|
||||||
|
|
||||||
args_dict = _parse_args_in_yunohost_format(
|
args_dict = _parse_args_in_yunohost_format(
|
||||||
[{option["name"]: parsed_values[generated_name]}],
|
[{option["name"]: parsed_values[generated_name]}],
|
||||||
|
|
Loading…
Add table
Reference in a new issue