Fix notification overlay not working correctly

Change-Id: If1b1421a6a9ebe054824076416f6fbc87160bc2a
This commit is contained in:
Adrian Turjak 2021-09-30 20:55:02 +13:00
parent 97880c9364
commit bee1e42c9f

View File

@ -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 = {}