diff --git a/bot.py b/bot.py index 1e67886..f36ebaf 100644 --- a/bot.py +++ b/bot.py @@ -1375,7 +1375,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=True, check = True, capture_output = True) + retcode = subprocess.run("/home/pi/Conjurer/restart_radio.sh", shell=True, capture_output = True) logger.info(f'Wynik {retcode}') @client.hybrid_command(