From 8f4c2e6d506c7e2166f6aa8d1b9bbea4ac82fdfe Mon Sep 17 00:00:00 2001 From: Steven Crawford Date: Thu, 12 Dec 2024 13:20:36 -0600 Subject: [PATCH] more cleanup --- split_zip_into_smaller_chunks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/split_zip_into_smaller_chunks.py b/split_zip_into_smaller_chunks.py index f975b57..cf0c810 100755 --- a/split_zip_into_smaller_chunks.py +++ b/split_zip_into_smaller_chunks.py @@ -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