diff --git a/src/yunohost/app.py b/src/yunohost/app.py index e1ceeeb5c..d9a349579 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1647,7 +1647,7 @@ def app_config_show_panel(app): [{option["name"]: parsed_values[generated_name]}], [option] ) - option["default"] = args_dict[option["name"]] + option["default"] = args_dict[option["name"]][0] else: logger.debug("Variable '%s' is not declared by config script, using default", generated_name) # do nothing, we'll use the default if present