From e9376ca285a5ac56df7fa2fd24870fbdfe70acf1 Mon Sep 17 00:00:00 2001 From: Nicolas Mowen Date: Sun, 22 Oct 2023 12:35:19 -0600 Subject: [PATCH] Fix bug on bad storage stats read (#8275) --- frigate/stats.py | 1 + 1 file changed, 1 insertion(+) diff --git a/frigate/stats.py b/frigate/stats.py index 083926996..addcd4a5b 100644 --- a/frigate/stats.py +++ b/frigate/stats.py @@ -303,6 +303,7 @@ def stats_snapshot( storage_stats = shutil.disk_usage(path) except FileNotFoundError: stats["service"]["storage"][path] = {} + continue stats["service"]["storage"][path] = { "total": round(storage_stats.total / pow(2, 20), 1),