forked from Github/frigate
identity check is correct way to check for None
This commit is contained in:
committed by
Blake Blackshear
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(
|
||||
|
||||
Reference in New Issue
Block a user