[TIZI/TICI] ui: drive stat cache is a json already

This commit is contained in:
Jason Wen
2026-02-09 02:47:35 -05:00
parent 8be8bbbfdb
commit 51d3f0dea2

View File

@@ -54,7 +54,7 @@ class TripsLayout(Widget):
if not stats:
return {}
try:
return json.loads(stats)
return stats
except Exception:
cloudlog.exception(f"Failed to decode drive stats: {stats}")
return {}