Set debug=False by default
This changes the app to run with DEBUG=False unless the environment variable for FLASK_DEBUG has been explicitly set. Flask's docs include a note about how this should never be run on production with debug=True because it enables remote code execution. Patreon was supposedly just hacked because one of their test servers had debug=True enabled so I think it makes sense to keep it disabled by default in the interest of security.
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.