diff --git a/notifications_client.py b/notifications_client.py index b6e5107bb..5cd4d02fb 100644 --- a/notifications_client.py +++ b/notifications_client.py @@ -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