more cleanup

This commit is contained in:
2024-12-12 13:20:36 -06:00
parent 5e0bbdf419
commit 8f4c2e6d50

View File

@@ -70,8 +70,9 @@ def split_zip(input_zip_path, output_folder, max_group_size):
with BytesIO(source_zip.read(member)) as file_content:
# Check if adding this file would exceed the maximum group size
if (group_size + len(file_content.getvalue())) > max_group_size:
print(f'\r{file_name}-group_{group_number}.zip done. ', end="\r\n")
print(f'\r{file_name}-group_{group_number}.zip done. ', end="")
group_number += 1
print(f'\nNext: {file_name}-group_{group_number}.zip')
group_size = 0
# i = 0