Skip to content

Commit

Permalink
fix: country shaped from dtownload
Browse files Browse the repository at this point in the history
  • Loading branch information
tillwenke committed Jan 9, 2025
1 parent 929936f commit a47caa7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion heatchmap/gpmap.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def __init__(self, region="world", resolution=10, version="prod"):
here = {os.path.dirname(os.path.abspath(__file__))}
self.shapely_countries = f"{here}/cache/countries/ne_110m_admin_0_countries.shp"

if not os.path.exists(file_path):
if not os.path.exists(self.shapely_countries):
output_dir = f"{here}/cache/countries"
os.makedirs(output_dir, exist_ok=True)

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import setuptools

VERSION = "0.1.6"
VERSION = "0.1.7"

NAME = "heatchmap"

Expand Down

0 comments on commit a47caa7

Please sign in to comment.