From ad22225b045cb8da6659c6f65a25ca1a52256f8e Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Thu, 2 Apr 2026 16:59:07 +0900 Subject: [PATCH 1/3] read correct key --- scripts/deploy_res.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/deploy_res.py b/scripts/deploy_res.py index 0f32bd30f31..0f1346b1db8 100644 --- a/scripts/deploy_res.py +++ b/scripts/deploy_res.py @@ -46,8 +46,9 @@ def update_cache(session: MediaWikiSession): .strip(), }, ) + print(cache_result) if ( - cache_result["updatelpmwmessageapi"].get("message") + cache_result.get("message") == "Successfully changed the message value" ): print("Resource cache version updated succesfully!") From fa8fbc9bad72ccd0b763dd494f37b7f3a6017e40 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Thu, 2 Apr 2026 17:04:11 +0900 Subject: [PATCH 2/3] kick debug print --- scripts/deploy_res.py | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/deploy_res.py b/scripts/deploy_res.py index 0f1346b1db8..d95ea53ff57 100644 --- a/scripts/deploy_res.py +++ b/scripts/deploy_res.py @@ -46,7 +46,6 @@ def update_cache(session: MediaWikiSession): .strip(), }, ) - print(cache_result) if ( cache_result.get("message") == "Successfully changed the message value" From e97e5aa6ed383c6b4cd3dfd1069a6e7b4295e630 Mon Sep 17 00:00:00 2001 From: ElectricalBoy <15651807+ElectricalBoy@users.noreply.github.com> Date: Thu, 2 Apr 2026 17:04:23 +0900 Subject: [PATCH 3/3] lint --- scripts/deploy_res.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/scripts/deploy_res.py b/scripts/deploy_res.py index d95ea53ff57..d79a24e5397 100644 --- a/scripts/deploy_res.py +++ b/scripts/deploy_res.py @@ -46,10 +46,7 @@ def update_cache(session: MediaWikiSession): .strip(), }, ) - if ( - cache_result.get("message") - == "Successfully changed the message value" - ): + if cache_result.get("message") == "Successfully changed the message value": print("Resource cache version updated succesfully!") else: print("::error::Resource cache version unable to be updated!")