Turn off app.debug so error pages works.

This commit is contained in:
Edward Betts 2022-08-17 20:06:36 +01:00
parent e85cefbc2f
commit 4d175c8733

View file

@ -17,7 +17,6 @@ from dab_mechanic import mediawiki_api, wikidata_oauth, wikipedia
app = flask.Flask(__name__)
app.config.from_object("config.default")
app.debug = True
wiki_hostname = "en.wikipedia.org"
wiki_api_php = f"https://{wiki_hostname}/w/api.php"