Fix notification overlay not working correctly
Change-Id: If1b1421a6a9ebe054824076416f6fbc87160bc2a
This commit is contained in:
parent
97880c9364
commit
bee1e42c9f
@ -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 = {}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user