From 7b16be8041445355567ea8a8b684770324a88aaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Laura=20Kl=C3=BCnder?= Date: Mon, 20 Nov 2017 17:45:46 +0100 Subject: [PATCH] fix error on AccessRestrictionAffectedCells.add() --- src/c3nav/mapdata/utils/cache/accessrestrictions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/c3nav/mapdata/utils/cache/accessrestrictions.py b/src/c3nav/mapdata/utils/cache/accessrestrictions.py index 07b7ff3e..92d057cd 100644 --- a/src/c3nav/mapdata/utils/cache/accessrestrictions.py +++ b/src/c3nav/mapdata/utils/cache/accessrestrictions.py @@ -87,7 +87,7 @@ class AccessRestrictionAffectedCells: # expand array bounds = self.parent._get_geometry_bounds(self.selector) self.parent.fit_bounds(*bounds) - self._get_values() + self.values = self._get_values() i = self.parent._get_restriction_index(restriction, create=True) self._set(self.values | (2**i))