From a8e4e3e334ceb8b5012b721bcbf688042458e7ee Mon Sep 17 00:00:00 2001 From: Nathan Cannon Date: Mon, 5 Oct 2015 16:24:30 +0100 Subject: [PATCH] Changed how port if configured to prevent breaking in deployed environment. --- wanikaniburned.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wanikaniburned.py b/wanikaniburned.py index 9d029c7..1b67091 100644 --- a/wanikaniburned.py +++ b/wanikaniburned.py @@ -189,4 +189,4 @@ def unauthorized(): if __name__ == '__main__': db.create_all() - app.run(threaded=True) + app.run(threaded=True, port=app.config['PORT'])