mirror of
https://github.com/FAUSheppy/tmnf-replay-server.git
synced 2025-12-06 07:01:37 +01:00
fix: show tm2020 milliseconds
This commit is contained in:
@@ -183,7 +183,10 @@ class ParsedReplay(db.Model):
|
|||||||
if t.seconds < 60*60:
|
if t.seconds < 60*60:
|
||||||
t_string = t_string[2:]
|
t_string = t_string[2:]
|
||||||
if t.microseconds != 0:
|
if t.microseconds != 0:
|
||||||
return t_string[:-4]
|
if self.game == "tmnf":
|
||||||
|
return t_string[:-4]
|
||||||
|
else:
|
||||||
|
return t_string[:-3]
|
||||||
return t_string + ".00"
|
return t_string + ".00"
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
|
|||||||
Reference in New Issue
Block a user