diff --git a/application.py b/application.py index 7235426b1e..7f554ecd3f 100644 --- a/application.py +++ b/application.py @@ -25,7 +25,7 @@ app = create_app(application) -xray_recorder.configure(service='Notify-API', context=NotifyContext()) +xray_recorder.configure(service="Notify-API", context=NotifyContext()) XRayMiddleware(app, xray_recorder) apig_wsgi_handler = make_lambda_handler(app, binary_support=True) diff --git a/run_celery.py b/run_celery.py index c8381752d4..ce470fc06b 100644 --- a/run_celery.py +++ b/run_celery.py @@ -17,7 +17,7 @@ application = Flask("celery") create_app(application) -xray_recorder.configure(service='Notify', context=NotifyContext()) +xray_recorder.configure(service="Notify", context=NotifyContext()) XRayMiddleware(application, xray_recorder) application.app_context().push()