diff --git a/src/c3nav/mapdata/utils/cache/local.py b/src/c3nav/mapdata/utils/cache/local.py index f0fd97e6..8d9b2385 100644 --- a/src/c3nav/mapdata/utils/cache/local.py +++ b/src/c3nav/mapdata/utils/cache/local.py @@ -32,6 +32,9 @@ class LocalCacheProxy: # not in our cache result = cache.get(key, default=NoneFromCache) if result is not NoneFromCache: + print("result", result, result is NoneFromCache) + if self._items.get(None) is None: + self._items.set(OrderedDict()) self._items.get()[key] = result self._prune() else: