[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot]
2025-03-10 10:42:06 +00:00
parent 1ae4c3019b
commit e451769a29

View File

@@ -103,8 +103,7 @@ class DeviceListener:
segment_start = segment["start"]
segment_end = segment["end"]
is_within_start_range = (
position < 1 < segment_end
and segment_start <= position < segment_end
position < 1 < segment_end and segment_start <= position < segment_end
)
is_beyond_current_position = segment_start > position