mirror of
https://github.com/protomaps/PMTiles.git
synced 2026-02-04 10:51:07 +00:00
Python API changed to do I/O in larger blocks
This commit is contained in:
@@ -81,7 +81,7 @@ def make_pyramid(tile_entries, start_leaf_offset, max_dir_size=21845):
|
||||
@contextmanager
|
||||
def write(fname):
|
||||
f = open(fname, "wb")
|
||||
w = Writer(f)
|
||||
w = Writer(f, 21845)
|
||||
try:
|
||||
yield w
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user