From 6bcc72a43495dfb9b277a34ca18615dfdb26f7dc Mon Sep 17 00:00:00 2001 From: bakatrouble Date: Thu, 11 Apr 2019 02:20:09 +0300 Subject: [PATCH] fix tapas comic merging --- 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 064e353..3e36946 100644 --- a/feeds/modules/tapas.py +++ b/feeds/modules/tapas.py @@ -70,5 +70,5 @@ class TapasFeedModuleConfig(FeedModuleConfig): new_im_path = os.path.join(d, 'combined.jpg') new_im.save(new_im_path) with open(new_im_path, 'rb') as f: - bot.send_document(chat_id, new_im_path, caption=caption) + bot.send_document(chat_id, f, caption=caption) yield eid