From 6bd77046cd598024a26f3bc81457be36d64c93fe Mon Sep 17 00:00:00 2001 From: "Dr.Caduceus" Date: Thu, 9 Nov 2023 15:14:56 +0530 Subject: [PATCH] Bump to v1.3 --- bot/server/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot/server/main.py b/bot/server/main.py index 577eead..c0d7b8d 100644 --- a/bot/server/main.py +++ b/bot/server/main.py @@ -54,7 +54,7 @@ async def transmit_file(file_id): async def file_streamer(): current_part = 1 - async for chunk in TelegramBot.stream_media(file, offset = floor(from_bytes // chunk_size)): + async for chunk in TelegramBot.stream_media(file, offset = from_bytes // chunk_size): if not chunk: break