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

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
1 changed files with 1 additions and 0 deletions

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)