From 6116290b330cc517be3c0d8c7f2e1e0dfdb8f67d Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Sun, 31 Mar 2019 23:40:48 +0300 Subject: [PATCH] send single-image episodes as photoas --- feeds/modules/tapas.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/feeds/modules/tapas.py b/feeds/modules/tapas.py index a7a0314..a060e7e 100644 --- a/feeds/modules/tapas.py +++ b/feeds/modules/tapas.py @@ -50,7 +50,7 @@ class TapasFeedModuleConfig(FeedModuleConfig): imgs.append(img['src']) if len(imgs) == 1: - bot.send_document(chat_id, imgs[0], caption=caption) + bot.send_photo(chat_id, imgs[0], caption=caption) if len(imgs) > 1: with TemporaryDirectory() as d: ims = []