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."