From 6f5ec7838fb3d2c97c1f71e401afb6e8118d3d22 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Mon, 28 Jun 2021 20:57:28 +0200 Subject: [PATCH] events: fix linting Signed-off-by: Jens Langhammer --- authentik/events/tasks.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/authentik/events/tasks.py b/authentik/events/tasks.py index 48879a45e..8ab4f8662 100644 --- a/authentik/events/tasks.py +++ b/authentik/events/tasks.py @@ -105,7 +105,9 @@ def notification_transport( """Send notification over specified transport""" self.save_on_success = False try: - notification: Notification = Notification.objects.filter(pk=notification_pk).first() + notification: Notification = Notification.objects.filter( + pk=notification_pk + ).first() if not notification: return transport: NotificationTransport = NotificationTransport.objects.get(