Skip to content

Commit

Permalink
Bump minimum version
Browse files Browse the repository at this point in the history
  • Loading branch information
NicholasBottone committed Sep 24, 2023
1 parent bb01aad commit 154fe01
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions highscores/lib.py
Original file line number Diff line number Diff line change
Expand Up @@ -309,9 +309,8 @@ def check_generic_game_settings(score_obj: Score, auto_or_teleop: str) -> Union[
""" Checks if the universal game settings are valid.
:return: None if the settings are valid, or a response with an error message if they are not.
"""
if (not score_obj.client_version or float(score_obj.client_version[1:5]) < 10.4
or score_obj.client_version == 'v10.4a' or score_obj.client_version == 'v10.4b'
or score_obj.client_version == 'v10.4c' or score_obj.client_version == 'v10.4d'):
if (not score_obj.client_version or float(score_obj.client_version[1:5]) < 11.0):
# or score_obj.client_version == 'v10.4a' or score_obj.client_version == 'v10.4b'
return WRONG_VERSION_MESSAGE
if "_p" in score_obj.client_version:
return PRERELEASE_MESSAGE
Expand Down

0 comments on commit 154fe01

Please sign in to comment.