more cleanup
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user