From d6c2485d8639093f04e9da365f16a2481ed4b3b6 Mon Sep 17 00:00:00 2001 From: Adam Goldsmith Date: Sun, 5 Jan 2025 23:27:07 -0500 Subject: [PATCH] paperwork: Fix approval keyword for different MediaWiki extension Moving from "Semantic Approved Revisions" to "Semantic Extra Special Properties", as the later is better supported --- paperwork/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}' )