fix tapas comic merging

This commit is contained in:
bakatrouble 2019-04-11 02:18:42 +03:00
parent fc36c138d0
commit d90e7ae2bc

View File

@ -69,5 +69,6 @@ class TapasFeedModuleConfig(FeedModuleConfig):
offset += im.size[0]
new_im_path = os.path.join(d, 'combined.jpg')
new_im.save(new_im_path)
bot.send_document(chat_id, new_im_path, caption=caption)
with open(new_im_path, 'rb') as f:
bot.send_document(chat_id, new_im_path, caption=caption)
yield eid