Skip to content

Commit

Permalink
fix len
Browse files Browse the repository at this point in the history
  • Loading branch information
zhiltsov-max committed Sep 15, 2020
1 parent 5016c5b commit b72fd19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/engine/media_extractors.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_image_size(self, i):
pass

def __len__(self):
return (self._stop - self._start) // self._step
return len(self.frame_range)

@property
def frame_range(self):
Expand Down

0 comments on commit b72fd19

Please sign in to comment.