oops, messed up a default. also fixed restart
This commit is contained in:
parent
e386b9999a
commit
55d2aa65bb
3 changed files with 8 additions and 9 deletions
|
@ -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()
|
||||
|
|
Reference in a new issue