mirror of
https://github.com/ChuckBuilds/LEDMatrix.git
synced 2026-04-10 21:03:01 +00:00
cache key fix
This commit is contained in:
@@ -116,7 +116,7 @@ class CacheManager:
|
||||
cache_path = self._get_cache_path(key)
|
||||
with self._cache_lock:
|
||||
with open(cache_path, 'w') as f:
|
||||
json.dump(data, f)
|
||||
json.dump(data, f, indent=4, cls=DateTimeEncoder)
|
||||
|
||||
# Update memory cache
|
||||
self._memory_cache[key] = data
|
||||
|
||||
Reference in New Issue
Block a user