mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-02-03 13:14:31 +03:00
Remove forgotten invalid code CdnDecrypter.finish_check (fix #243)
This commit is contained in:
parent
3a5eab2e83
commit
1d36bbfbf4
|
@ -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', '')
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user