Compare commits
1
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c1b327ca05 |
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user