From c2c90f7be1c4fa1829cd43dabd186f0e127f44d3 Mon Sep 17 00:00:00 2001 From: frio Date: Tue, 20 Aug 2013 10:51:06 +1200 Subject: [PATCH] Correctly hooks up the port ENV in run.py Looks like this was a simple oversight :) --- {{cookiecutter.repo_name}}/run.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/{{cookiecutter.repo_name}}/run.py b/{{cookiecutter.repo_name}}/run.py index 3fa2188..25ca2e0 100644 --- a/{{cookiecutter.repo_name}}/run.py +++ b/{{cookiecutter.repo_name}}/run.py @@ -5,4 +5,4 @@ from {{cookiecutter.repo_name}} import main if __name__ == '__main__': port = int(os.environ.get('PORT', 5000)) - main.app.run() \ No newline at end of file + main.app.run(port=port)