From bee1e42c9f1e54688558e299272556514402f5b2 Mon Sep 17 00:00:00 2001 From: Adrian Turjak Date: Thu, 30 Sep 2021 20:55:02 +1300 Subject: [PATCH] Fix notification overlay not working correctly Change-Id: If1b1421a6a9ebe054824076416f6fbc87160bc2a --- adjutant/notifications/v1/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/adjutant/notifications/v1/base.py b/adjutant/notifications/v1/base.py index 118be8c..c96bbaf 100644 --- a/adjutant/notifications/v1/base.py +++ b/adjutant/notifications/v1/base.py @@ -44,13 +44,13 @@ class BaseNotificationHandler(object): try: if notification.error: - task_defaults = task_defaults.error_handler_config.get( + task_defaults = task_defaults.error_handler_config[ self.__class__.__name__ - ) + ] else: - task_defaults = task_defaults.standard_handler_config.get( + task_defaults = task_defaults.standard_handler_config[ self.__class__.__name__ - ) + ] except KeyError: task_defaults = {}