From fc1e84643ad5266bbe356126ca8e09ad51c135dc Mon Sep 17 00:00:00 2001 From: Ethan Dalool Date: Sat, 11 Jan 2020 01:36:52 -0800 Subject: [PATCH] Fix HMS bug. --- subtitle_shift_pointsync.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subtitle_shift_pointsync.py b/subtitle_shift_pointsync.py index 3a243ae..0a48b60 100644 --- a/subtitle_shift_pointsync.py +++ b/subtitle_shift_pointsync.py @@ -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)