Fix typo in cutter

pull/367/head
Mike Lang 1 year ago
parent e689626815
commit 4d962ba187

@ -275,7 +275,7 @@ class Cutter(object):
# Also check the thumbnail time if we need to generate it
thumbnail_segments = None
if candidate.thumbnail_mode in ('BARE', 'TEMPLATE') and candidate.thumbnail_image is None:
thumbnail_segments = get_best_segments_for_frame(hours_path, candidate.thumbnail_time, candidate.thumbnail_time)
thumbnail_segments = get_best_segments_for_frame(hours_path, candidate.thumbnail_time)
if thumbnail_segments == [None]:
raise ContainsHoles
return segment_ranges, thumbnail_segments

Loading…
Cancel
Save