""" Application =========== """ from raven.contrib import flask from ows_accounting import api from ows_accounting import config from ows_accounting import handlers # noqa if config.SENTRY: api.app.config['SENTRY_DSN'] = config.SENTRY flask.Sentry(api.app) app = api.app