From 615135d624bb76e23aaaebd8c97270afa4b98d75 Mon Sep 17 00:00:00 2001 From: Nick Mowen Date: Sat, 24 Sep 2022 18:21:42 -0600 Subject: [PATCH] Use only the values --- frigate/stats.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frigate/stats.py b/frigate/stats.py index e794e4311..1865ffdc3 100644 --- a/frigate/stats.py +++ b/frigate/stats.py @@ -85,7 +85,7 @@ def get_temperatures() -> dict[str, float]: def get_gpu_stats(config: FrigateConfig) -> dict[str, str]: """Parse GPUs from hwaccel args and use for stats.""" - hwaccel_args = set(map(lambda camera: camera.ffmpeg.hwaccel_args, config.cameras)) + hwaccel_args = set(map(lambda camera: camera.ffmpeg.hwaccel_args, config.cameras.values())) stats: dict[str, dict] = {} for args in hwaccel_args: