Skip to content

Commit

Permalink
Linted code
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Nov 7, 2024
1 parent 76cacd7 commit df81f93
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cvat/apps/engine/frame_provider.py
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,10 @@ def iterate_frames(
db_segment_frame_set = None
db_segment_frame_provider = None
for idx in frame_range:
if db_segment and self._get_abs_frame_number(self._db_task.data, idx) not in db_segment_frame_set:
if (
db_segment
and self._get_abs_frame_number(self._db_task.data, idx) not in db_segment_frame_set
):
db_segment = None
db_segment_frame_set = None
db_segment_frame_provider = None
Expand Down

0 comments on commit df81f93

Please sign in to comment.