From 7ad8b8298deeca457df13dc6dc99836e2000d643 Mon Sep 17 00:00:00 2001 From: Patrick Date: Fri, 25 Jun 2021 10:37:21 -0600 Subject: [PATCH] identity check is correct way to check for None --- frigate/video.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/video.py b/frigate/video.py index e1281874d..23897dabd 100755 --- a/frigate/video.py +++ b/frigate/video.py @@ -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(