mirror of
https://github.com/blakeblackshear/frigate.git
synced 2026-02-02 01:05:20 +03:00
identity check is correct way to check for None
This commit is contained in:
parent
8dfff83447
commit
558425606d
@ -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