cache key fix

This commit is contained in:
Chuck
2025-07-19 11:31:52 -05:00
parent f2b078e4f1
commit 98e6b2b349

View File

@@ -116,7 +116,7 @@ class CacheManager:
cache_path = self._get_cache_path(key) cache_path = self._get_cache_path(key)
with self._cache_lock: with self._cache_lock:
with open(cache_path, 'w') as f: with open(cache_path, 'w') as f:
json.dump(data, f) json.dump(data, f, indent=4, cls=DateTimeEncoder)
# Update memory cache # Update memory cache
self._memory_cache[key] = data self._memory_cache[key] = data