From 1346d0c932688f2102fddb578e04e5a1fafbd023 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sat, 14 Sep 2019 18:32:58 +0100 Subject: [PATCH] Use id --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index 0664ab095..81884b890 100644 --- a/webinterface.py +++ b/webinterface.py @@ -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'