Fix HMS bug.

This commit is contained in:
voussoir 2020-01-11 01:36:52 -08:00
parent 9e5c699871
commit fc1e84643a

View file

@ -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)