mirror of
https://github.com/migatu/conjurer.git
synced 2026-07-14 13:34:40 +00:00
another approach
This commit is contained in:
@@ -19,7 +19,6 @@ import shutil
|
||||
import sys
|
||||
import threading
|
||||
import uuid
|
||||
import subprocess
|
||||
from datetime import datetime
|
||||
from logging import handlers
|
||||
from pathlib import Path, PurePath
|
||||
@@ -1375,7 +1374,7 @@ async def zrestartuj_radio(ctx):
|
||||
if not allowed:
|
||||
await ctx.send("Łapy precz od radia")
|
||||
else:
|
||||
subprocess.call(['sh', '/home/pi/Conjurer/restart_radio.sh'])
|
||||
os.system('/home/pi/Conjurer/restart_radio.sh')
|
||||
|
||||
|
||||
@client.hybrid_command(
|
||||
|
||||
Reference in New Issue
Block a user