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,
|
||||
publishedYear + '/' +
|
||||
publishedMonth + '/' + index[pos])
|
||||
if not os.path.isfile(speakerJsonFilename):
|
||||
continue
|
||||
speakerJson = loadJson(speakerJsonFilename)
|
||||
if not speakerJson.get('published'):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue