From a1c94e886927c7e72e911edec3277d96282e0a9f Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 19 Jan 2022 14:51:52 +0200 Subject: [PATCH] fds --- files/classes/user.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/files/classes/user.py b/files/classes/user.py index d220ca217..eeba5aa7f 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -431,7 +431,7 @@ class User(Base): @property @lazy def profile_url(self): - if self.agendaposter: return f"{SITE_FULL}/static/assets/images/defaultpictures/agendaposter/{random.randint(1, 50)}.webp?a=204" + if self.agendaposter: return f"{SITE_FULL}/static/assets/images/defaultpictures/agendaposter/{random.randint(1, 51)}.webp?a=204" if self.profileurl: return self.profileurl if SITE_NAME == 'Drama': return f"{SITE_FULL}/static/assets/images/defaultpictures/{random.randint(1, 150)}.webp?a=202" return f"{SITE_FULL}/static/assets/images/default-profile-pic.webp?a=204"