From 842bec8027ff6298d213c7c85a1e38920e6b91cc Mon Sep 17 00:00:00 2001 From: Thorbijoern Date: Sun, 3 Feb 2019 00:03:19 +0100 Subject: [PATCH] fixed problem with empty thumbs because thumbs is a list now and PhotoSizeEmpty isn't iterable --- telethon/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/telethon/utils.py b/telethon/utils.py index 617d2763..3f5550a0 100644 --- a/telethon/utils.py +++ b/telethon/utils.py @@ -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''