Fix HMS bug.
This commit is contained in:
parent
9e5c699871
commit
fc1e84643a
1 changed files with 1 additions and 1 deletions
|
@ -98,7 +98,7 @@ def seconds_to_hms(seconds, force_hours=False, force_milliseconds=False):
|
|||
if hours or force_hours:
|
||||
parts.append(hours)
|
||||
|
||||
if minutes or force_hours:
|
||||
if hours or minutes or force_hours:
|
||||
parts.append(minutes)
|
||||
|
||||
parts.append(seconds)
|
||||
|
|
Loading…
Reference in a new issue