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
|
||||
speakerJson = \
|
||||
_getSpeakerJsonFromIndex(currTimeline, currIndex)
|
||||
if not speakerJson:
|
||||
speakerJson = {}
|
||||
if speakerJson.get('detectedLinks'):
|
||||
if ' ' in keyPress:
|
||||
index = keyPress.split(' ')[1]
|
||||
|
|
Loading…
Reference in New Issue