Return short 0 second string
This commit is contained in:
parent
95644ce883
commit
c1d4b26c6c
|
@ -76,6 +76,9 @@ class Summary(object):
|
|||
('second', 'sec', 1)]
|
||||
|
||||
if seconds == 0:
|
||||
if short:
|
||||
return f"0 {increments[-1][1]}s"
|
||||
else:
|
||||
return f"0 {increments[-1][0]}s"
|
||||
|
||||
time_string = ""
|
||||
|
|
Loading…
Reference in New Issue
Block a user