Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not run the app in debug mode by default #55

Merged
merged 1 commit into from
Jun 19, 2019
Merged

Conversation

lbonn
Copy link
Contributor

@lbonn lbonn commented Jun 18, 2019

This is not needed for running the suite and could have some unexpected implications (posed problems in the past).

Still leave it accessible through the command line, just in case!

This is not needed for running the suite and could have some unexpected
implications (posed problems in the past).

Still leave it accessible through the command line, just in case!

Signed-off-by: Laurent Bonnans <[email protected]>
@@ -29,6 +29,8 @@ def arg_parser():
default='127.0.0.1')
parser.add_argument('-P', '--port', help='The port to bind the app to',
type=int, default=8080)
parser.add_argument('--debug', help='Run the server in debug mode',
action='store_true')
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Won't this still store debug=true by default?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops, now I understand. Good call.

@lbonn lbonn merged commit 9b4c592 into master Jun 19, 2019
@lbonn lbonn deleted the fix/flask-debug-mode branch June 19, 2019 07:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants