This commit is contained in:
2024-06-19 19:47:15 +02:00
parent a266e5d240
commit 408f6e5c4e
+1 -1
View File
@@ -1385,7 +1385,7 @@ async def zrestartuj_radio(ctx):
if not allowed: if not allowed:
await ctx.send("Łapy precz od radia") await ctx.send("Łapy precz od radia")
else: 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) logger.info("Wynik: %s",retcode)
@client.hybrid_command( @client.hybrid_command(