update restart.py for wrapper
This commit is contained in:
parent
2eed1c654c
commit
0642a2a3ae
|
@ -4,10 +4,8 @@ import sys
|
|||
import os
|
||||
import subprocess
|
||||
|
||||
if os.path.isfile("./control.sh"):
|
||||
restart = "./control.sh restart"
|
||||
elif os.path.isfile("./bot.sh"):
|
||||
restart = "./bot.sh restart"
|
||||
if os.path.isfile("./cloudbot"):
|
||||
restart = "./cloudbot restart"
|
||||
else:
|
||||
restart = "./bot.py"
|
||||
|
||||
|
|
Reference in New Issue