Skip to content

Commit

Permalink
sort frames during project dumping
Browse files Browse the repository at this point in the history
  • Loading branch information
sizov-kirill committed Sep 29, 2023
1 parent 4a487c3 commit ae1c223
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cvat/apps/dataset_manager/bindings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1149,7 +1149,7 @@ def get_frame(task_id: int, idx: int) -> ProjectData.Frame:
return frames[(frame_info["subset"], abs_frame)]

if include_empty:
for ident in self._frame_info:
for ident in sorted(self._frame_info):
if ident not in self._deleted_frames:
get_frame(*ident)

Expand Down

0 comments on commit ae1c223

Please sign in to comment.