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(