Read config
This commit is contained in:
parent
5301190a2c
commit
cf652200cd
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue