From 76a9742ddcfe168b61217c98c96765ce3d778c16 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sun, 1 Dec 2024 07:32:30 -0700 Subject: [PATCH] Handle type --- frigate/app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/app.py b/frigate/app.py index 2f7541cf9c..ba82757f99 100644 --- a/frigate/app.py +++ b/frigate/app.py @@ -525,7 +525,7 @@ def shm_frame_count(self) -> int: return 0 shm_frame_count = min( - os.environ.get(SHM_FRAMES_VAR, 50), + int(os.environ.get(SHM_FRAMES_VAR, "50")), int(available_shm / (cam_total_frame_size)), )