Skip to content

Commit 16af277

Browse files
committed
Allow v20.0a client version for high score submissions
1 parent d15a378 commit 16af277

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎highscores/lib.py‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -593,8 +593,7 @@ def check_generic_game_settings(score_obj: Score, auto_or_teleop: str) -> Union[
593593
""" Checks if the universal game settings are valid.
594594
:return: None if the settings are valid, or a response with an error message if they are not.
595595
"""
596-
if (not score_obj.client_version or float(score_obj.client_version[1:5]) < 20.0
597-
or score_obj.client_version == 'v20.0a'):
596+
if (not score_obj.client_version or float(score_obj.client_version[1:5]) < 20.0):
598597
return WRONG_VERSION_MESSAGE
599598
if "_p" in score_obj.client_version:
600599
return PRERELEASE_MESSAGE

0 commit comments

Comments
 (0)