From 2625a7083baa7aeac696a354098ce8bd4ddf023c Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Mon, 4 May 2020 19:25:53 +0100 Subject: [PATCH] Bracket --- webinterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webinterface.py b/webinterface.py index c5b80c49..cbdce472 100644 --- a/webinterface.py +++ b/webinterface.py @@ -256,7 +256,7 @@ def getPersonAvatarUrl(baseDir: str, personUrl: str, personCache: {}) -> str: # get from locally stored image actorStr = personJson['id'].replace('/', '-') avatarImagePath = \ - getFileCaseInsensitive(baseDir + '/cache/avatars/' + actorStr + getFileCaseInsensitive(baseDir + '/cache/avatars/' + actorStr) if os.path.isfile(avatarImagePath + '.png'): return '/avatars/' + actorStr + '.png' elif os.path.isfile(avatarImagePath + '.jpg'):