mirror of
https://github.com/glomatico/gamdl.git
synced 2025-01-23 11:48:39 +00:00
Remove useless if
This commit is contained in:
parent
f05dace5c1
commit
4c7e563d4c
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user