fix: send markdown
Some checks failed
black-action / runner / black formatter (push) Failing after 0s

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

View File

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