diff --git a/paperwork/views.py b/paperwork/views.py index c81be0a..d27917d 100644 --- a/paperwork/views.py +++ b/paperwork/views.py @@ -110,7 +110,7 @@ def certification_pdf(request, cert_name): ) printouts = results[wiki_page]["printouts"] - if printouts["Approval status"] != ["approve"]: + if printouts["Approval status"] != ["approved"]: return HttpResponseBadRequest( f'Certification is not yet approved on wiki: {wiki_page}' )