diff options
| author | 2018-09-29 13:37:19 +0100 | |
|---|---|---|
| committer | 2018-09-29 13:37:19 +0100 | |
| commit | fe981f99116c96f2d84bb5a05255464e8c563867 (patch) | |
| tree | 6d69baa70848f88bf7b8cf10610fb3425672aba3 | |
| parent | Add src/Cache.py, use it in modules/coins.py (diff) | |
| signature | ||
Actually get "item" when a cached item expires
| -rw-r--r-- | src/Cache.py | 1 |
1 files changed, 1 insertions, 0 deletions
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] |
