missing import

This commit is contained in:
Mark Haines 2015-04-30 17:21:21 +01:00
parent c95480963e
commit 6ea9cf58be

View File

@ -18,6 +18,7 @@ import sys
import os
import subprocess
import signal
import yaml
SYNAPSE = ["python", "-B", "-m", "synapse.app.homeserver"]
@ -29,6 +30,7 @@ NORMAL = "\x1b[m"
CONFIG = yaml.load(open(CONFIGFILE))
PIDFILE = CONFIG["pid_file"]
def start():
if not os.path.exists(CONFIGFILE):
sys.stderr.write(