diff --git a/Scripts/datatypes/zone.py b/Scripts/datatypes/zone.py index 5b672837..60538e3b 100644 --- a/Scripts/datatypes/zone.py +++ b/Scripts/datatypes/zone.py @@ -1,4 +1,4 @@ -from parameters.zone import areas, municipalities +from parameters.zone import areas, area_aggregation, municipalities from utils.zone_interval import is_in @@ -10,7 +10,7 @@ def __init__(self, number): self.index = Zone.counter Zone.counter += 1 self.area = None - for area in areas: + for area in area_aggregation: if is_in(areas[area], number): self.area = area break