diff --git a/scripts/deploy_res.py b/scripts/deploy_res.py index 0f32bd30f31..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["updatelpmwmessageapi"].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!")