From 18947adf435d9d3ae30db30671f123b6e10dda11 Mon Sep 17 00:00:00 2001 From: Kayou Date: Fri, 12 Apr 2019 22:29:28 +0200 Subject: [PATCH] [FIX] Config Panel --- src/yunohost/app.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 97210d60c..7813dee58 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1629,7 +1629,7 @@ def app_config_show_panel(app): args=["show"], env=env, stdout_callback=parse_stdout, - ) + )[0] if return_code != 0: raise Exception("script/config show return value code: %s (considered as an error)", return_code) @@ -1715,7 +1715,7 @@ def app_config_apply(app, args): return_code = hook_exec(config_script, args=["apply"], env=env, - ) + )[0] if return_code != 0: raise Exception("'script/config apply' return value code: %s (considered as an error)", return_code)