give more progress info during extract

This commit is contained in:
xenofem 2024-02-04 00:49:26 -05:00
parent 3efee8fe05
commit d351da79c1

View file

@ -48,6 +48,8 @@ def extract(args):
work_extract_path = args.destdir / 'extract' / work_id work_extract_path = args.destdir / 'extract' / work_id
work_extract_path.mkdir(parents=True) work_extract_path.mkdir(parents=True)
print(f'Extracting {zip_path} to {work_extract_path}')
with open_zipfile_with_encoding(zip_path) as z: with open_zipfile_with_encoding(zip_path) as z:
z.extractall(path=work_extract_path) z.extractall(path=work_extract_path)