mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
fix NameError: name 'data' is not defined in convert.py (#220)
This commit is contained in:
committed by
GitHub
parent
8f5076297a
commit
6a4a403942
@@ -177,4 +177,4 @@ def pmtiles_to_dir(input, output):
|
||||
path = os.path.join(directory, str(zxy[2]) + "." + "mvt")
|
||||
os.makedirs(directory, exist_ok=True)
|
||||
with open(path, "wb") as f:
|
||||
f.write(data)
|
||||
f.write(tile_data)
|
||||
|
||||
Reference in New Issue
Block a user