fix
This commit is contained in:
parent
cc7d8d0a86
commit
e39e45b6ce
2
main.py
2
main.py
@ -71,7 +71,7 @@ async def check_updates():
|
|||||||
im.save(file, format='JPEG')
|
im.save(file, format='JPEG')
|
||||||
im.seek(0)
|
im.seek(0)
|
||||||
await bot.send_photo(int(os.environ['SEND_CHAT']),
|
await bot.send_photo(int(os.environ['SEND_CHAT']),
|
||||||
file_resized,
|
file,
|
||||||
caption=caption)
|
caption=caption)
|
||||||
await redis.sadd('e621:sent', post.id)
|
await redis.sadd('e621:sent', post.id)
|
||||||
except exceptions.TelegramAPIError as e:
|
except exceptions.TelegramAPIError as e:
|
||||||
|
Loading…
Reference in New Issue
Block a user