This commit is contained in:
codl 2017-08-07 15:09:28 +02:00
parent a0c5a7cadc
commit b7a478dd95
No known key found for this signature in database
GPG Key ID: 6CD7C8891ED1233A
1 changed files with 1 additions and 1 deletions

2
app.py
View File

@ -33,5 +33,5 @@ migrate = Migrate(app, db)
sentry = None
if 'SENTRY_DSN' in app.config:
from raven.contrib.flask import Sentry
app.config['SENTRY_CONFIG']['release'] = version.version
sentry = Sentry(app, dsn=app.config['SENTRY_DSN'])
app.config['SENTRY_CONFIG']['release']= version.version