Update file_operations.py

This commit is contained in:
ZHAOKAI WANG
2023-04-21 13:06:44 +08:00
committed by GitHub
parent 45a9ff6e74
commit e7c2a4068e

View File

@@ -72,7 +72,7 @@ def split_file(
while start < content_length:
end = start + max_length
if end + overlap < content_length:
chunk = content[start: end + overlap - 1]
chunk = content[start : end + overlap - 1]
else:
chunk = content[start:content_length]