diff --git a/src/Cache.py b/src/Cache.py index 4d7c8def..4c06fd7c 100644 --- a/src/Cache.py +++ b/src/Cache.py @@ -31,6 +31,7 @@ class Cache(object): if expiration and expiration <= now: expired.append(id) for id in expired: + item = self._items[id] del self._items[id] del self._item_to_id[item]