fixed problem with empty thumbs

because thumbs is a list now and PhotoSizeEmpty isn't iterable
This commit is contained in:
Thorbijoern 2019-02-03 00:03:19 +01:00 committed by GitHub
parent 48644cca44
commit 842bec8027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -925,7 +925,7 @@ def resolve_bot_file_id(file_id):
date=None,
mime_type='',
size=0,
thumbs=types.PhotoSizeEmpty('s'),
thumbs=None,
dc_id=dc_id,
attributes=attributes,
file_reference=b''