main2
Bob Mottram 2019-09-14 18:32:58 +01:00
parent 33989bb08b
commit 1346d0c932
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ def getPersonAvatarUrl(baseDir: str,personUrl: str,personCache: {}) -> str:
"""
personJson = getPersonFromCache(baseDir,personUrl,personCache)
if personJson:
actorStr=personJson['actor'].replace('/','#')
actorStr=personJson['id'].replace('/','#')
avatarImageFilename=baseDir+'/cache/avatars/'+actorStr+'.png'
if os.path.isfile(avatarImageFilename):
return '/avatars/'+actorStr+'.png'