diff --git a/telethon/telegram_bare_client.py b/telethon/telegram_bare_client.py index e7e769d2..1292c2fa 100644 --- a/telethon/telegram_bare_client.py +++ b/telethon/telegram_bare_client.py @@ -503,9 +503,6 @@ class TelegramBareClient: # If we have received no data (0 bytes), the file is over # So there is nothing left to download and write if not result.bytes: - if cdn_decrypter: - cdn_decrypter.finish_check() - # Return some extra information, unless it's a CDN file return getattr(result, 'type', '')