fix
This commit is contained in:
parent
acbdefa508
commit
8c481d2b02
1
main.py
1
main.py
@ -72,6 +72,7 @@ async def check_updates():
|
|||||||
file.truncate(0)
|
file.truncate(0)
|
||||||
composite.save(file, format='JPEG')
|
composite.save(file, format='JPEG')
|
||||||
file.seek(0)
|
file.seek(0)
|
||||||
|
file.name = 'file.jpg'
|
||||||
await bot.send_photo(int(os.environ['SEND_CHAT']),
|
await bot.send_photo(int(os.environ['SEND_CHAT']),
|
||||||
file,
|
file,
|
||||||
caption=caption)
|
caption=caption)
|
||||||
|
Loading…
Reference in New Issue
Block a user