From 408f6e5c4e58dd1814336d1a3886cbe3ca3a059d Mon Sep 17 00:00:00 2001 From: Migatu Date: Wed, 19 Jun 2024 19:47:15 +0200 Subject: [PATCH] fix --- bot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.py b/bot.py index b310316..e8ba1dc 100644 --- a/bot.py +++ b/bot.py @@ -1385,7 +1385,7 @@ async def zrestartuj_radio(ctx): if not allowed: await ctx.send("Łapy precz od radia") else: - retcode = subprocess.run("/home/pi/Conjurer/restart_radio.sh", shell=False, check = True, capture_output = True) + retcode = subprocess.run("/home/pi/Conjurer/restart_radio.sh", shell=False, check = False, capture_output = True) logger.info("Wynik: %s",retcode) @client.hybrid_command(