paperwork: Fix approval keyword for different MediaWiki extension
All checks were successful
Ruff / ruff (push) Successful in 32s
Test / test (push) Successful in 6m9s

Moving from "Semantic Approved Revisions" to "Semantic Extra Special
Properties", as the later is better supported
This commit is contained in:
Adam Goldsmith 2025-01-05 23:27:07 -05:00
parent 349e48a018
commit d6c2485d86

View File

@ -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: <a href="{WIKI_URL}/wiki/{wiki_page}">{wiki_page}</a>'
)