Merge branch 'dev' into preprod

This commit is contained in:
Darks 2020-07-26 16:55:14 +02:00
commit 5933a25d3a
Signed by: Darks
GPG Key ID: F61F10FA138E797C
1 changed files with 2 additions and 1 deletions

View File

@ -459,7 +459,8 @@ class Member(User):
# TODO: Trophy "actif"
if context in ["on-profile-update", None]:
if isfile(os.path.join(V5Config.DATA_FOLDED, "avatar", self.avatar)):
if isfile(os.path.join(
V5Config.DATA_FOLDER, "avatars", self.avatar)):
self.add_trophy("Artiste")
else:
self.del_trophy("Artiste")