fix: add await
Some checks failed
black-action / runner / black formatter (push) Failing after -1s

This commit is contained in:
0xMRTT 2023-06-21 11:07:50 +02:00
parent c8aa2d8723
commit b769493aac
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

@ -736,7 +736,7 @@ def run():
steps="70",
negative=negative,
)
bot.api.send_markdown_message(room.room_id, f"{filename}")
await bot.api.send_markdown_message(room.room_id, f"{filename}")
try:
with open(filename, mode="wb") as img_file:
img_file.write(img_data)