Changed before_start to after_start

This commit is contained in:
Channel Cat 2016-10-14 05:04:09 -07:00
parent 91a780230e
commit 3de373e029

View File

@ -49,11 +49,11 @@ def query_string(request):
# Run Server
# ----------------------------------------------- #
def before_start(loop):
def after_start(loop):
log.info("OH OH OH OH OHHHHHHHH")
def before_stop(loop):
log.info("TRIED EVERYTHING")
app.run(host="0.0.0.0", port=8000, debug=True, before_start=before_start, before_stop=before_stop)
app.run(host="0.0.0.0", port=8000, debug=True, after_start=after_start, before_stop=before_stop)