python2.7 friendly

This commit is contained in:
j 2018-09-18 23:05:34 +02:00
commit b4a490901a
2 changed files with 4 additions and 2 deletions

View file

@ -119,7 +119,7 @@ class Chop(object):
self.keyframes = make_keyframe_index(video)
return self.keyframes
def get_gop_sections(self, start: float, end: float) -> dict:
def get_gop_sections(self, start, end):
keyframes = self.get_keyframes()
start_pos = bisect_left(keyframes, start)
end_pos = bisect_left(keyframes, end)