Merge branch '90-00-in-score'
build_latest / build (push) Successful in 32s
build_release / build (push) Successful in 17s

This commit is contained in:
2025-04-11 09:10:28 -04:00
+2 -2
View File
@@ -208,9 +208,9 @@ class SubmissionCog(commands.Cog):
elif re.search("^[0-9](\\.[0-9])?$", score):
# need to add 0 in seconds and leading colon and 0
score = "0:0" + score
elif re.search("^[0]?[0-9]:[0-9]{2}(\\.[0-9])?$", score):
elif re.search("^[0][0-9]:[0-9]{2}(\\.[0-9])?$", score):
# if there is a minute 10ths place 0, remove
score = score.lstrip("0")
score = score[1:]
return score