mirror of
https://github.com/LonamiWebs/Telethon.git
synced 2025-08-06 21:20:22 +03:00
fixed problem with empty thumbs
because thumbs is a list now and PhotoSizeEmpty isn't iterable
This commit is contained in:
parent
48644cca44
commit
842bec8027
|
@ -925,7 +925,7 @@ def resolve_bot_file_id(file_id):
|
||||||
date=None,
|
date=None,
|
||||||
mime_type='',
|
mime_type='',
|
||||||
size=0,
|
size=0,
|
||||||
thumbs=types.PhotoSizeEmpty('s'),
|
thumbs=None,
|
||||||
dc_id=dc_id,
|
dc_id=dc_id,
|
||||||
attributes=attributes,
|
attributes=attributes,
|
||||||
file_reference=b''
|
file_reference=b''
|
||||||
|
|
Loading…
Reference in New Issue
Block a user