diff --git a/frigate/events.py b/frigate/events.py index e9a8683c3..8b8053474 100644 --- a/frigate/events.py +++ b/frigate/events.py @@ -36,9 +36,10 @@ class EventProcessor(threading.Thread): files_in_use = [] for process in psutil.process_iter(): - if process.name() != 'ffmpeg': - continue try: + if process.name() != 'ffmpeg': + continue + flist = process.open_files() if flist: for nt in flist: