From c14077dc3656b7e9f42cf6eb579e1daa1e0c1766 Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 22 Jun 2018 04:31:51 +0200 Subject: [PATCH] [fix] handle empty args case --- 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 2a7b6bf74..5f52a8628 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1471,7 +1471,7 @@ def app_config_apply(app_id, args): config_panel = read_json(config_panel) env = {"YNH_APP_ID": app_id} - args = dict(urlparse.parse_qsl(args, keep_blank_values=True)) + args = dict(urlparse.parse_qsl(args, keep_blank_values=True)) if args else {} for tab in config_panel.get("panel", []): tab_id = tab["id"] # this makes things easier to debug on crash