diff --git a/telecup_cli.py b/telecup_cli.py index 5aa35a3..3814074 100644 --- a/telecup_cli.py +++ b/telecup_cli.py @@ -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", nl=False, err=True ) + writeBuffer(buffer) async def download_file(client: TelegramClient, dest: typing.BinaryIO, fileInfo: dict, dialog: str):