From 30d95182d3a3897e302c7038ec2d7cdecb3b5c56 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Fri, 18 Dec 2020 23:34:52 +0000 Subject: [PATCH] Change avatar path --- person.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/person.py b/person.py index 406700b29..f4115a810 100644 --- a/person.py +++ b/person.py @@ -154,7 +154,7 @@ def randomizeActorImages(personJson: {}) -> None: # secure names randStr = str(randint(10000000000000, 99999999999999)) # nosec personJson['icon']['url'] = \ - personId + '/avatar' + randStr + '.' + existingExtension + '/accounts/avatars/avatar' + randStr + '.' + existingExtension lastPartOfFilename = personJson['image']['url'].split('/')[-1] existingExtension = lastPartOfFilename.split('.')[1] randStr = str(randint(10000000000000, 99999999999999)) # nosec