fix tapas comic merging

This commit is contained in:
bakatrouble 2019-04-11 02:20:09 +03:00
parent d90e7ae2bc
commit 6bcc72a434

View File

@ -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