mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-05 03:22:29 +00:00
Fix downloading photos with download_file (#1164)
This commit is contained in:
@@ -634,7 +634,7 @@ def get_input_location(location):
|
||||
id=location.id,
|
||||
access_hash=location.access_hash,
|
||||
file_reference=location.file_reference,
|
||||
thumb_size='' # Presumably to download one of its thumbnails
|
||||
thumb_size=location.sizes[-1].type
|
||||
))
|
||||
|
||||
if isinstance(location, types.FileLocationToBeDeprecated):
|
||||
|
Reference in New Issue
Block a user