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:
|
try:
|
||||||
if notification.error:
|
if notification.error:
|
||||||
task_defaults = task_defaults.error_handler_config.get(
|
task_defaults = task_defaults.error_handler_config[
|
||||||
self.__class__.__name__
|
self.__class__.__name__
|
||||||
)
|
]
|
||||||
else:
|
else:
|
||||||
task_defaults = task_defaults.standard_handler_config.get(
|
task_defaults = task_defaults.standard_handler_config[
|
||||||
self.__class__.__name__
|
self.__class__.__name__
|
||||||
)
|
]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
task_defaults = {}
|
task_defaults = {}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user