python: default to max dir depth 3, don't default compression in writer

This commit is contained in:
Brandon Liu
2022-10-16 12:33:39 +08:00
parent 991cdb302d
commit 819a0e6f2b
2 changed files with 1 additions and 4 deletions

View File

@@ -46,7 +46,7 @@ class Reader:
header = deserialize_header(self.get_bytes(0, 127))
dir_offset = header["root_offset"]
dir_length = header["root_length"]
for depth in range(0, 3): # max depth
for depth in range(0, 4): # max depth
directory = deserialize_directory(self.get_bytes(dir_offset, dir_length))
result = find_tile(directory, tile_id)
if result: