oops, messed up a default. also fixed restart

This commit is contained in:
neersighted 2012-03-01 12:40:55 -08:00
parent e386b9999a
commit 55d2aa65bb
3 changed files with 8 additions and 9 deletions

View file

@ -1,13 +1,9 @@
#!/usr/bin/env python
# Tiny little restarter by neersighted
import sys
import os
import subprocess
if os.path.isfile("./cloudbot"):
restart = "./cloudbot restart"
else:
restart = "./bot.py"
restart = "./cloudbot restart"
subprocess.call(restart, shell=True)
sys.exit()