download as tar + utf8 zip + optimize walk

This commit is contained in:
ed
2021-03-26 20:43:25 +01:00
parent e14d81bc6f
commit 871dde79a9
5 changed files with 40 additions and 18 deletions

View File

@@ -174,7 +174,7 @@ def gen_ecdr64_loc(ecdr64_pos):
class StreamZip(object):
def __init__(self, fgen, utf8, pre_crc):
def __init__(self, fgen, utf8=False, pre_crc=False):
self.fgen = fgen
self.utf8 = utf8
self.pre_crc = pre_crc