From 5ca3035cbf437bb454935c326a5636fe62e3aad1 Mon Sep 17 00:00:00 2001 From: Sergey Krashevich Date: Thu, 15 Jun 2023 03:13:48 +0300 Subject: [PATCH] format --- frigate/config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/frigate/config.py b/frigate/config.py index f781e2854..48e785c53 100644 --- a/frigate/config.py +++ b/frigate/config.py @@ -29,8 +29,8 @@ from frigate.util import ( deep_merge, escape_special_characters, get_ffmpeg_arg_list, - load_config_with_no_duplicates, get_video_properties, + load_config_with_no_duplicates, ) logger = logging.getLogger(__name__) @@ -676,9 +676,8 @@ class CameraConfig(FrigateBaseModel): "detect" in input.get("roles", []) ): try: - streamInfo = get_video_properties(input.get("path")) - config["detect"]["width"] = streamInfo["width"] + config["detect"]["width"] = streamInfo["width"] config["detect"]["height"] = streamInfo["height"] break except Exception: