mirror of https://gitlab.com/bashrc2/epicyon
Don't assume that the file exists
parent
a730aa8450
commit
8268b1b2c8
|
@ -381,6 +381,8 @@ def _showLocalBox(boxName: str,
|
||||||
os.path.join(msgDir,
|
os.path.join(msgDir,
|
||||||
publishedYear + '/' +
|
publishedYear + '/' +
|
||||||
publishedMonth + '/' + index[pos])
|
publishedMonth + '/' + index[pos])
|
||||||
|
if not os.path.isfile(speakerJsonFilename):
|
||||||
|
continue
|
||||||
speakerJson = loadJson(speakerJsonFilename)
|
speakerJson = loadJson(speakerJsonFilename)
|
||||||
if not speakerJson.get('published'):
|
if not speakerJson.get('published'):
|
||||||
continue
|
continue
|
||||||
|
|
Loading…
Reference in New Issue