fix error 500
This commit is contained in:
parent
be693bee4b
commit
565fc927d4
1 changed files with 1 additions and 1 deletions
2
src/c3nav/mapdata/utils/cache/local.py
vendored
2
src/c3nav/mapdata/utils/cache/local.py
vendored
|
@ -43,7 +43,7 @@ class LocalCacheProxy:
|
||||||
def _check_mapupdate(self):
|
def _check_mapupdate(self):
|
||||||
mapupdate = MapUpdate.current_cache_key()
|
mapupdate = MapUpdate.current_cache_key()
|
||||||
if self._mapupdate != mapupdate:
|
if self._mapupdate != mapupdate:
|
||||||
self._items = []
|
self._items = OrderedDict()
|
||||||
self._mapupdate = mapupdate
|
self._mapupdate = mapupdate
|
||||||
|
|
||||||
def set(self, key, value, expire):
|
def set(self, key, value, expire):
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue