From a0c5a7cadc7841e0a0b4cd53b9321b582a29c890 Mon Sep 17 00:00:00 2001 From: codl Date: Mon, 7 Aug 2017 15:06:29 +0200 Subject: [PATCH] computer --- app.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app.py b/app.py index cddc786..a1220ef 100644 --- a/app.py +++ b/app.py @@ -11,7 +11,8 @@ default_config = { "SQLALCHEMY_DATABASE_URI": "postgresql+psycopg2:///forget", "SECRET_KEY": "hunter2", "CELERY_BROKER": "amqp://", - "HTTPS": True + "HTTPS": True, + "SENTRY_CONFIG": {} } app.config.update(default_config) @@ -33,4 +34,4 @@ sentry = None if 'SENTRY_DSN' in app.config: from raven.contrib.flask import Sentry sentry = Sentry(app, dsn=app.config['SENTRY_DSN']) - app.config['SENTRY_CONFIG_RELEASE'] = version.version + app.config['SENTRY_CONFIG']['release']= version.version