Skip to content

Commit 9ebf1a4

Browse files
committed
fix notification center impoer
1 parent 2c67253 commit 9ebf1a4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

optimizely/event/event_processor.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
from six.moves import queue
2020

2121
from optimizely import logger as _logging
22+
from optimizely import notification_center as _notification_center
2223
from optimizely.event_dispatcher import EventDispatcher as default_event_dispatcher
2324
from optimizely.helpers import enums
2425
from optimizely.helpers import validator
@@ -97,7 +98,7 @@ def __init__(self,
9798

9899
if not validator.is_notification_center_valid(self.notification_center):
99100
self.logger.error(enums.Errors.INVALID_INPUT.format('notification_center'))
100-
self.notification_center = notification_center.NotificationCenter()
101+
self.notification_center = _notification_center.NotificationCenter()
101102

102103
if start_on_init is True:
103104
self.start()

0 commit comments

Comments
 (0)