From ea3b619e4960bdd04c7447353a86310397c41deb Mon Sep 17 00:00:00 2001 From: Aevann1 Date: Wed, 24 Nov 2021 22:50:00 +0200 Subject: [PATCH] fsdfds --- files/classes/user.py | 2 +- files/templates/followers.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/files/classes/user.py b/files/classes/user.py index 49917ea5f..964d65aea 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -418,7 +418,7 @@ class User(Base): @property @lazy def profile_url(self): - if self.agendaposter: return f"http://{site}/assets/images/defaultpictures/agendaposter/{random.randint(1, 15)}.webp?v=1" + if self.agendaposter: return f"http://{site}/assets/images/defaultpictures/agendaposter/{random.randint(1, 50)}.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/followers.html b/files/templates/followers.html index 8baea4d80..392bd7df8 100644 --- a/files/templates/followers.html +++ b/files/templates/followers.html @@ -29,7 +29,7 @@ {{loop.index}} {{user.username}} {% if v.id == u.id %} -
Remove follow
+
Remove follow
{% endif %} {% endfor %}