From 9d9f5bda918cbff87d3ffa3fed5526600236ead3 Mon Sep 17 00:00:00 2001 From: Peter Dahlberg Date: Fri, 17 Jun 2016 00:07:53 +0200 Subject: [PATCH] use waitress instead of wsgiref --- app.py | 2 +- requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app.py b/app.py index 295b007..816543b 100755 --- a/app.py +++ b/app.py @@ -64,4 +64,4 @@ if __name__ == "__main__": _, configpath, host, port = sys.argv app = init_app(configpath) - run(app=app, host=host, port=port, debug=True) + run(app=app, host=host, port=port, server="waitress") diff --git a/requirements.txt b/requirements.txt index 9eae50f..7a8eacb 100644 --- a/requirements.txt +++ b/requirements.txt @@ -3,3 +3,4 @@ apscheduler pytz tzlocal tox +waitress