1 parent f3e515a commit dadb4b4Copy full SHA for dadb4b4
1 file changed
pyrogram/methods/advanced/save_file.py
@@ -154,7 +154,7 @@ async def worker(session):
154
chunk = fp.read(part_size)
155
156
if not chunk:
157
- if not is_big:
+ if not is_big and not is_missing_part:
158
md5_sum = "".join([hex(i)[2:].zfill(2) for i in md5_sum.digest()])
159
break
160
@@ -177,7 +177,7 @@ async def worker(session):
177
if is_missing_part:
178
return
179
180
181
md5_sum.update(chunk)
182
183
file_part += 1
0 commit comments