mirror of https://gitlab.com/bashrc2/epicyon
Return path to cached avatar
parent
40aaad1a98
commit
7285eaf7e5
|
@ -75,6 +75,7 @@ def updateAvatarImageCache(session,baseDir: str,httpPrefix: str,actor: str,avata
|
|||
storePersonInCache(baseDir,actor,personJson,personCache)
|
||||
return getPersonAvatarUrl(baseDir,actor,personCache)
|
||||
return None
|
||||
return avatarImageFilename.replace(baseDir+'/cache','')
|
||||
|
||||
def getPersonAvatarUrl(baseDir: str,personUrl: str,personCache: {}) -> str:
|
||||
"""Returns the avatar url for the person
|
||||
|
|
Loading…
Reference in New Issue