fix tapas comic merging
This commit is contained in:
parent
fc36c138d0
commit
d90e7ae2bc
@ -69,5 +69,6 @@ class TapasFeedModuleConfig(FeedModuleConfig):
|
|||||||
offset += im.size[0]
|
offset += im.size[0]
|
||||||
new_im_path = os.path.join(d, 'combined.jpg')
|
new_im_path = os.path.join(d, 'combined.jpg')
|
||||||
new_im.save(new_im_path)
|
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
|
yield eid
|
||||||
|
Loading…
Reference in New Issue
Block a user