Commit 7b39a4b4 authored by Your Name's avatar Your Name

rename run

parent 190eacee
......@@ -638,7 +638,7 @@ if args.debug is not None:
ensure_dir(debug_dir)
debug_file = open(args.debug, "a")
def run():
def start():
global db
db = None
if args.mongo_host is not None:
......@@ -651,9 +651,9 @@ def run():
if args.daemon:
with daemon.DaemonContext():
run()
start()
else:
run()
start()
if __name__ == "__main__":
web.run_app(app, host=args.host, port=args.port)
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment