add error mail
This commit is contained in:
parent
c2727e6fc8
commit
918a4a88c8
2 changed files with 34 additions and 0 deletions
2
app.py
2
app.py
|
|
@ -6,6 +6,7 @@ from depicts import (utils, wdqs, commons, mediawiki, painting, saam, database,
|
|||
wd_catalog)
|
||||
from depicts.pager import Pagination, init_pager
|
||||
from depicts.model import DepictsItem, DepictsItemAltLabel, Edit, PaintingItem
|
||||
from depicts.error_mail import setup_error_mail
|
||||
from requests_oauthlib import OAuth1Session
|
||||
from urllib.parse import urlencode
|
||||
from werkzeug.exceptions import InternalServerError
|
||||
|
|
@ -26,6 +27,7 @@ app = Flask(__name__)
|
|||
app.config.from_object('config.default')
|
||||
database.init_db(app.config['DB_URL'])
|
||||
init_pager(app)
|
||||
setup_error_mail(app)
|
||||
|
||||
find_more_props = {
|
||||
'P135': 'movement',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue