mirror of
https://github.com/blakeblackshear/frigate.git
synced 2024-11-21 19:07:46 +01:00
identity check is correct way to check for None
This commit is contained in:
parent
3fb24b4bf5
commit
7ad8b8298d
@ -233,7 +233,7 @@ class CameraWatchdog(threading.Thread):
|
||||
|
||||
for p in self.ffmpeg_other_processes:
|
||||
poll = p["process"].poll()
|
||||
if poll == None:
|
||||
if poll is None:
|
||||
continue
|
||||
p["logpipe"].dump()
|
||||
p["process"] = start_or_restart_ffmpeg(
|
||||
|
Loading…
Reference in New Issue
Block a user