Remove forgotten invalid code CdnDecrypter.finish_check (fix #243)

This commit is contained in:
Lonami Exo 2017-09-12 15:38:00 +02:00
parent 3a5eab2e83
commit 1d36bbfbf4

View File

@ -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', '')