Fix
This commit is contained in:
parent
09463f491d
commit
247128cbe9
@ -264,6 +264,7 @@ async def download_part(client: TelegramClient, dest: typing.BinaryIO, dInfo: Do
|
|||||||
f"{dInfo.part_info['part']}p {format_file_size(totalBytesDownloaded)}b {(time.time() - lastRealTimeMeasurement):.3f}s\t",
|
f"{dInfo.part_info['part']}p {format_file_size(totalBytesDownloaded)}b {(time.time() - lastRealTimeMeasurement):.3f}s\t",
|
||||||
nl=False, err=True
|
nl=False, err=True
|
||||||
)
|
)
|
||||||
|
writeBuffer(buffer)
|
||||||
|
|
||||||
|
|
||||||
async def download_file(client: TelegramClient, dest: typing.BinaryIO, fileInfo: dict, dialog: str):
|
async def download_file(client: TelegramClient, dest: typing.BinaryIO, fileInfo: dict, dialog: str):
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user