[TIZI/TICI] ui: drive stat cache is a json already
This commit is contained in:
@@ -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 {}
|
||||
|
||||
Reference in New Issue
Block a user