Skip to content

Commit

Permalink
fix: create basemap directory automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
spwoodcock committed Oct 11, 2023
1 parent 082f6a9 commit 71c0aa2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions osm_fieldwork/basemapper.py
Original file line number Diff line number Diff line change
Expand Up @@ -430,6 +430,7 @@ def create_basemap_file(
else:
base = outdir
base = f"{base}/{source}tiles"
Path(base).mkdir(parents=True, exist_ok=True)

if source and not tms:
basemap = BaseMapper(boundary, base, source, xy)
Expand Down

0 comments on commit 71c0aa2

Please sign in to comment.