Remove useless if

This commit is contained in:
R. M 2023-03-28 01:13:02 -03:00
parent f05dace5c1
commit 4c7e563d4c

View File

@ -196,8 +196,7 @@ class Gamdl:
unformatted_time = unformatted_time.replace('ms', '').replace('s', '').replace(':', '.')
unformatted_time = unformatted_time.split('.')
m, s, ms = 0, 0, 0
if len(unformatted_time) >= 1:
ms = int(unformatted_time[-1])
ms = int(unformatted_time[-1])
if len(unformatted_time) >= 2:
s = int(unformatted_time[-2]) * 1000
if len(unformatted_time) >= 3: