update restart.py for wrapper

This commit is contained in:
neersighted 2012-02-29 11:53:43 -08:00
parent 2eed1c654c
commit 0642a2a3ae
1 changed files with 2 additions and 4 deletions

View File

@ -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"