mirror of https://gitlab.com/bashrc2/epicyon
Handle none returned
parent
2ce5285b85
commit
0cf4ab99f4
|
@ -1157,6 +1157,8 @@ def runNotificationsClient(baseDir: str, proxyType: str, httpPrefix: str,
|
||||||
currIndex = currSentIndex
|
currIndex = currSentIndex
|
||||||
speakerJson = \
|
speakerJson = \
|
||||||
_getSpeakerJsonFromIndex(currTimeline, currIndex)
|
_getSpeakerJsonFromIndex(currTimeline, currIndex)
|
||||||
|
if not speakerJson:
|
||||||
|
speakerJson = {}
|
||||||
if speakerJson.get('detectedLinks'):
|
if speakerJson.get('detectedLinks'):
|
||||||
if ' ' in keyPress:
|
if ' ' in keyPress:
|
||||||
index = keyPress.split(' ')[1]
|
index = keyPress.split(' ')[1]
|
||||||
|
|
Loading…
Reference in New Issue