From dfc7dd45c4cc490a0545b4a64baf26a15a066c4b Mon Sep 17 00:00:00 2001 From: crate Date: Wed, 9 Oct 2024 18:21:39 -0500 Subject: [PATCH] another fix --- power.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/power.py b/power.py index 9a7481c..13bf0a9 100644 --- a/power.py +++ b/power.py @@ -96,7 +96,7 @@ def send_discord(message): finally: await client.close() await client.start(bot_token) - asyncio.run(message_send) + asyncio.run((message_send)) def pwr_offline(battery): message = f"{ups_id} UPS is running on battery power! {battery}% charge remaining."