From 4d175c8733b043a51f35d09cf11a4d92de34b498 Mon Sep 17 00:00:00 2001 From: Edward Betts Date: Wed, 17 Aug 2022 20:06:36 +0100 Subject: [PATCH] Turn off app.debug so error pages works. --- web_view.py | 1 - 1 file changed, 1 deletion(-) diff --git a/web_view.py b/web_view.py index c50fa7d..2730f23 100755 --- a/web_view.py +++ b/web_view.py @@ -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"