From 79f1c1a8972ba8edaaae3c39d25d357782a71a78 Mon Sep 17 00:00:00 2001 From: Bram Date: Sat, 23 Jun 2018 00:42:07 +0200 Subject: [PATCH] [fix] referenced the wrong variable --- src/yunohost/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 30a6932e8..4f4c96770 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -2074,7 +2074,7 @@ def _parse_action_args_in_yunohost_format(args, action_args, auth=None): if arg_default is not None: if arg_type == 'boolean': - ask_string += ' (default: {0})'.format("yes" if arg_type == 1 else "no") + ask_string += ' (default: {0})'.format("yes" if arg_default == 1 else "no") else: ask_string += ' (default: {0})'.format(arg_default)