Skip to content

Commit 026fe61

Browse files
authored
Merge pull request #4231 from hove-io/fix_shape_in_ZE
minor fix
2 parents db3c526 + 28f8502 commit 026fe61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/jormungandr/jormungandr/excluded_zones_manager.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ def get_all_excluded_zones(cls):
100100
for zone in excluded_zones:
101101
# remove the DAMN MYPY to use walrus operator!!!!!
102102
shape_str = zone.get('shape')
103-
if shape_str:
103+
if not shape_str:
104104
continue
105105
try:
106106
shape = shapely.wkt.loads(shape_str)

0 commit comments

Comments
 (0)