workflows: fix order of parameters in super() call (#34155)

This commit is contained in:
Frédéric Péters 2019-06-19 17:33:35 +02:00
parent 3d59e8e891
commit 2ccf0c2418
1 changed files with 1 additions and 1 deletions

View File

@ -2125,7 +2125,7 @@ class CommentableWorkflowStatusItem(WorkflowStatusItem):
def fill_admin_form(self, form):
if self.by and not type(self.by) is list:
self.by = None
return super(self, CommentableWorkflowStatusItem).fill_admin_form(form)
return super(CommentableWorkflowStatusItem, self).fill_admin_form(form)
def get_parameters(self):
return ('label', 'button_label', 'hint', 'by', 'varname',