For some reason yunohost-api don't want to start due to recent changes in actionamp, apply this trick for subcategories just like we do for categories

This commit is contained in:
Alexandre Aubin 2021-04-16 00:06:42 +02:00
parent ebb2bda235
commit 135fae95a8

View file

@ -778,6 +778,9 @@ class ActionsMap(object):
# No parser for the action
continue
if action_parser is None: # No parser for the action
continue
# Store action identifier and add arguments
action_parser.set_defaults(_tid=tid)
action_parser.add_arguments(