From 25c3626226a75073da17ee8d85894a8aaf409023 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adri=C3=A0=20Casaj=C3=BAs?= Date: Thu, 28 Apr 2022 13:01:49 +0200 Subject: [PATCH] Use the proper import for newrelic agent --- app/events/auth_event.py | 2 +- app/handler/spamd_result.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/events/auth_event.py b/app/events/auth_event.py index 492c4e89..f6752186 100644 --- a/app/events/auth_event.py +++ b/app/events/auth_event.py @@ -1,4 +1,4 @@ -import newrelic +import newrelic.agent from app.models import EnumE diff --git a/app/handler/spamd_result.py b/app/handler/spamd_result.py index 57cc250b..dd99dcb8 100644 --- a/app/handler/spamd_result.py +++ b/app/handler/spamd_result.py @@ -1,7 +1,7 @@ from __future__ import annotations from typing import Dict, Optional -import newrelic +import newrelic.agent from app.email import headers from app.models import EnumE