diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 7e776a50e..6a5f8a757 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1586,7 +1586,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