minor
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
2020-05-08 21:04:13 +02:00
parent 6ead97eee0
commit 9fec4e81cc
4 changed files with 11 additions and 11 deletions

View File

@@ -19,14 +19,13 @@ __version__text__ = "1"
SENTRY_DSN = os.environ.get("SENTRY_DSN")
if SENTRY_DSN:
sentry_sdk.init(
dsn=SENTRY_DSN,
integrations=[FlaskIntegration()],
send_default_pii=True,
release=os.environ.get('RELEASE_ID', 'test'),
environment=os.environ.get('RELEASEMODE', 'dev')
dsn = SENTRY_DSN,
integrations = [FlaskIntegration()],
send_default_pii = True,
release = os.environ.get('RELEASE_ID', 'test'),
environment = os.environ.get('RELEASEMODE', 'dev')
)
app = Flask(__name__)
app.config['REDIS_URL'] = os.environ['REDIS_URL']
app.config['LOCAL_UUID'] = os.environ['LOCAL_UUID']
@@ -36,7 +35,7 @@ app.config['PRODUCER_TIMEOUT'] = int(os.environ.get('PRODUCER_TIMEOUT', 60))
redis_client.init_app(app)
for view in [ConsumersView, LogView, SyncView]:
view.register(app, trailing_slash=False)
view.register(app, trailing_slash = False)
if __name__ == "__main__":
app.run(debug=True)
app.run(debug = True)