Skip to content
This repository was archived by the owner on Apr 27, 2020. It is now read-only.

change shebang line, add () to print stmt for py3 compatibility#11

Open
dtenenba wants to merge 1 commit intongoduykhanh:masterfrom
dtenenba:master
Open

change shebang line, add () to print stmt for py3 compatibility#11
dtenenba wants to merge 1 commit intongoduykhanh:masterfrom
dtenenba:master

Conversation

@dtenenba
Copy link

@dtenenba dtenenba commented May 3, 2019

Changed the first line of the script to

#!/usr/bin/env python

The old first line was causing problems when running the Flask app with debug=True.

Also changed the single print statement to have parentheses, which allows the app to run in Python 3.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant