From b46fb467682c6b190a90bffee7c5a9ed315b8c0b Mon Sep 17 00:00:00 2001 From: Laurent Peuch Date: Fri, 22 Jun 2018 07:34:24 +0200 Subject: [PATCH] [fix] forgot to commit actions format change --- src/yunohost/app.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/yunohost/app.py b/src/yunohost/app.py index 9c5f9ac6..420a5fb3 100644 --- a/src/yunohost/app.py +++ b/src/yunohost/app.py @@ -1389,6 +1389,7 @@ def app_action_run(app_id, action, args=None): # will raise if action doesn't exist actions = app_action_list(app_id)["actions"] + actions = {x["id"]: x for x in actions} if action not in actions: raise MoulinetteError(errno.EINVAL, "action '%s' not available for app '%s', available actions are: %s" % (action, app_id, ", ".join(actions.keys())))