From 4d80ef2f793ba24aa06835a3df39f7bad68c1aa3 Mon Sep 17 00:00:00 2001 From: Lonami Date: Thu, 20 Dec 2018 10:49:46 +0100 Subject: [PATCH] Space --- telethon/client/uploads.py | 1 + 1 file changed, 1 insertion(+) diff --git a/telethon/client/uploads.py b/telethon/client/uploads.py index 3362b63a..549ca061 100644 --- a/telethon/client/uploads.py +++ b/telethon/client/uploads.py @@ -118,6 +118,7 @@ class UploadMethods(ButtonMethods, MessageParseMethods, UserMethods): """ if not caption: caption = '' + # First check if the user passed an iterable, in which case # we may want to send as an album if all are photo files. if utils.is_list_like(file):