From 09cc4251f02250e82c04f1d4bd741dc035a8c2a7 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sat, 17 Jun 2023 09:31:35 -0600 Subject: [PATCH] Fix dict getting overwritten (#6830) --- frigate/util.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/frigate/util.py b/frigate/util.py index bf0e9172c..aa19e99fa 100755 --- a/frigate/util.py +++ b/frigate/util.py @@ -1206,6 +1206,7 @@ def get_video_properties(url, get_duration=False): # Release the video stream video.release() - result = {"width": round(width), "height": round(height)} + result["width"] = round(width) + result["height"] = round(height) return result