Read config

This commit is contained in:
Edward Betts 2022-08-15 13:11:29 +01:00
parent 5301190a2c
commit cf652200cd

View file

@ -11,6 +11,7 @@ from requests_oauthlib import OAuth1Session
from werkzeug.wrappers import Response from werkzeug.wrappers import Response
app = flask.Flask(__name__) app = flask.Flask(__name__)
app.config.from_object("config.default")
app.debug = True app.debug = True
api_url = "https://en.wikipedia.org/w/api.php" api_url = "https://en.wikipedia.org/w/api.php"