code cleanup

This commit is contained in:
Marvin Zhang
2019-06-21 12:54:13 +08:00
parent 78c66f4930
commit d147682260

View File

@@ -107,6 +107,5 @@ if not os.path.exists(PROJECT_LOGS_FOLDER):
if __name__ == '__main__':
# run app instance
# app.run(host=FLASK_HOST, port=FLASK_PORT)
server = pywsgi.WSGIServer((FLASK_HOST, FLASK_PORT), app)
server.serve_forever()