Fix bug introduced in new linter (#6754)

* Fix bug introduced in new linter

* Ignore this error

* Fix more

* Ignore boolean error too
This commit is contained in:
Nicolas Mowen
2023-06-11 06:18:47 -06:00
committed by GitHub
parent d3949eebfa
commit 435d152423
6 changed files with 13 additions and 13 deletions

View File

@@ -115,7 +115,7 @@ class RecordingMaintainer(threading.Thread):
Event.select()
.where(
Event.camera == camera,
(Event.end_time is None)
(Event.end_time == None)
| (Event.end_time >= recordings[0]["start_time"].timestamp()),
Event.has_clip,
)