Skip to content

Commit

Permalink
fixed invalid json type tags to valid json
Browse files Browse the repository at this point in the history
  • Loading branch information
sujanadh committed Jan 3, 2024
1 parent d10856e commit 6cb7a92
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fmtm_splitter/splitter.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ def splitBySQL( # noqa: N802

# Add aoi to project_aoi table
log.debug(f"Adding AOI to project_aoi table: {self.aoi.to_dict()}")
self.aoi["tags"] = self.aoi["tags"].apply(json.dumps)
self.aoi.to_postgis(
"project_aoi",
conn,
Expand Down

0 comments on commit 6cb7a92

Please sign in to comment.