diff --git a/webapp_utils.py b/webapp_utils.py index d154d8a51..6a9666a77 100644 --- a/webapp_utils.py +++ b/webapp_utils.py @@ -543,6 +543,8 @@ def getPersonAvatarUrl(baseDir: str, personUrl: str, personCache: {}, return None # get from locally stored image + if not personJson.get('id'): + return None actorStr = personJson['id'].replace('/', '-') avatarImagePath = baseDir + '/cache/avatars/' + actorStr