fix: add data print
Some checks failed
black-action / runner / black formatter (push) Failing after -2s

This commit is contained in:
0xMRTT 2023-06-21 11:09:16 +02:00
parent b769493aac
commit 12e0603a8e
Signed by: 0xMRTT
GPG Key ID: 910B287304120902

View File

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