fix error 500

This commit is contained in:
Laura Klünder 2018-12-27 22:21:17 +01:00
parent be693bee4b
commit 565fc927d4

View file

@ -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):