Skip to content
Snippets Groups Projects
Commit b5dce419 authored by David Hoese's avatar David Hoese
Browse files

Fix bug in tile generation causing exception on None shapefile record

parent 4928e96c
No related branches found
No related tags found
No related merge requests found
......@@ -70,8 +70,8 @@ def shapes_generator(input_files, prev_shapefile, shared_bbox=False):
# the old shapefile includes a file that we no longer want
# keep going through the existing shapes until we find one we
# do want
location, shape_info = next(prev_shapes, default_shape)
yield 'removed', location, shape_info
location, shape_info = next(prev_shapes, default_shape)
continue
yield 'existing', location, shape_info
location, shape_info = next(prev_shapes, default_shape)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment