Skip to content

Commit

Permalink
fix issue without suburb
Browse files Browse the repository at this point in the history
  • Loading branch information
sdrll committed Aug 28, 2023
1 parent 377ab70 commit 39aa1a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion importer/import.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,8 @@ def import_zone(z_line):
z.pop("geometry"),
number_mode=NM_DECIMAL|NM_NATIVE
)
pg_cur.execute(SINGLE_INSERT, z)
if z["geometry"] != "null":
pg_cur.execute(SINGLE_INSERT, z)


def _import_cosmogony_to_pg(cosmogony_path):
Expand Down

0 comments on commit 39aa1a3

Please sign in to comment.