From 073f6dbf07a032db99a140e538b15151891f57af Mon Sep 17 00:00:00 2001 From: beeankha Date: Wed, 28 Aug 2019 09:33:15 -0400 Subject: [PATCH] Fix flake8 error --- awx/main/models/notifications.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/awx/main/models/notifications.py b/awx/main/models/notifications.py index f21eb05a63..7ecdc244db 100644 --- a/awx/main/models/notifications.py +++ b/awx/main/models/notifications.py @@ -485,6 +485,6 @@ class JobNotificationMixin(object): def send_it(local_nt=nt, local_subject=notification_subject, local_body=notification_body): def _func(): send_notifications.delay([local_nt.generate_notification(local_subject, local_body).id], - job_id=self.id) + job_id=self.id) return _func connection.on_commit(send_it())