diff --git a/notifications_client.py b/notifications_client.py index 8824c804b..7acfb30c8 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -1157,6 +1157,8 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str, currIndex = currSentIndex speakerJson = \ _getSpeakerJsonFromIndex(currTimeline, currIndex) + if not speakerJson: + speakerJson = {} if speakerJson.get('detectedLinks'): if ' ' in keyPress: index = keyPress.split(' ')[1]