Skip to content

Commit

Permalink
Applied linter comments
Browse files Browse the repository at this point in the history
  • Loading branch information
bsekachev committed Jun 26, 2024
1 parent a621aba commit ee5d004
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,10 @@ def get_track_count():
count += cur_shape["frame"] - prev_shape["frame"]

# Add frames until the end of segment if the latest shape was not outside
if not cur_shape["outside"] and cur_shape["frame"] < self._db_obj.segment.stop_frame:
if (
not cur_shape["outside"]
and cur_shape["frame"] < self._db_obj.segment.stop_frame
):
count += self._db_obj.segment.stop_frame - cur_shape["frame"]

return count
Expand Down

0 comments on commit ee5d004

Please sign in to comment.