Skip to content

Commit

Permalink
fix: format (#684)
Browse files Browse the repository at this point in the history
* fix: black format

* fix types
  • Loading branch information
ptpt authored Sep 19, 2024
1 parent 3663f38 commit 72fb6bf
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions mapillary_tools/ffmpeg.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,10 +195,7 @@ def extract_frames(

self._run_ffmpeg(cmd)

def generate_binary_search(
self,
sorted_frame_indices: T.Set[int]
) -> str:
def generate_binary_search(self, sorted_frame_indices: T.Sequence[int]) -> str:
length = len(sorted_frame_indices)

if length == 0:
Expand Down

0 comments on commit 72fb6bf

Please sign in to comment.