diff --git a/frigate/stats.py b/frigate/stats.py index edc7ec8f5..7ed1aa914 100644 --- a/frigate/stats.py +++ b/frigate/stats.py @@ -135,7 +135,10 @@ def get_gpu_stats(config: FrigateConfig) -> Optional[dict[str, dict]]: # RPi v4l2m2m is currently not able to get usage stats pass - return stats + if stats: + return stats + + return None def stats_snapshot(