From a9a674ea6ea527bd914b9e83ec9e4dce0911551a Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 24 Nov 2021 16:50:22 +0200 Subject: [PATCH] fdssf --- files/classes/user.py | 2 +- files/templates/emoji_modal.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index cc3be2b0b..3ca1b44f3 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -411,7 +411,7 @@ class User(Base): @property @lazy def profile_url(self): - if self.agendaposter: return f"http://{site}/assets/images/chuds/{random.randint(1, 10)}.webp?v=1" + if self.agendaposter: return f"http://{site}/assets/images/chuds/{random.randint(1, 11)}.webp?v=1" if self.profileurl: return self.profileurl if "rama" in site: return f"http://{site}/assets/images/defaultpictures/{random.randint(1, 150)}.webp?v=1" return f"http://{site}/assets/images/default-profile-pic.webp" diff --git a/files/templates/emoji_modal.html b/files/templates/emoji_modal.html index 99d0f77bc..4b8276ad9 100644 --- a/files/templates/emoji_modal.html +++ b/files/templates/emoji_modal.html @@ -1,4 +1,4 @@ - +