From 96311d39b458a47b854c55bec5618ed9c70606b3 Mon Sep 17 00:00:00 2001 From: Nicholas Bottone Date: Sun, 14 Jul 2024 02:58:13 -0400 Subject: [PATCH] Refactor high_stakes_clean_code_check function to use check_skills_challenge_score --- highscores/lib.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/highscores/lib.py b/highscores/lib.py index 6d8bccb..817579e 100644 --- a/highscores/lib.py +++ b/highscores/lib.py @@ -281,7 +281,7 @@ def crescendo_clean_code_check(score_obj: Score) -> Union[str, None]: def high_stakes_clean_code_check(score_obj: Score) -> Union[str, None]: - return clean_code_check(score_obj, check_high_stakes_game_settings, check_score) + return clean_code_check(score_obj, check_high_stakes_game_settings, check_skills_challenge_score) def extract_clean_code_info(score_obj: Score) -> tuple[str, list[str], str, str, str, str, str]: