From 8e2c869c84f261f6925ab656cc5eba6c5f5405de Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Thu, 27 Oct 2022 19:56:11 +0200 Subject: [PATCH] fix last commit --- files/classes/user.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 589c4701a..5d9e7eda3 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -756,13 +756,13 @@ class User(Base): @lazy def profile_url(self): if self.agendaposter: - return f"{host}/e/chudsey.webp" + return f"{SITE_FULL}/e/chudsey.webp" if self.rainbow: return f"{SITE_FULL}/e/marseysalutepride.webp" if self.profileurl: if self.profileurl.startswith('/'): return SITE_FULL + self.profileurl return self.profileurl - return f"{host}/assets/images/default-profile-pic.webp?v=1008" + return f"{SITE_FULL}/assets/images/default-profile-pic.webp?v=1008" @lazy def json_popover(self, v):