Remove a magic-string

pull/6257/head
Karl Hobley 2020-02-18 12:26:46 +00:00 zatwierdzone przez Matt Westcott
rodzic 7bcd10208f
commit fdaa99e4f9
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -424,7 +424,7 @@ def edit(request, page_id):
current_task_number = i + 1
# add a warning message if tasks have been approved and may need to be re-approved
task_has_been_approved = any(filter(lambda task: task.status == 'approved', workflow_tasks))
task_has_been_approved = any(filter(lambda task: task.status == TaskState.STATUS_APPROVED, workflow_tasks))
# TODO: add icon to message when we have added a workflows icon
if request.method == 'GET':