master
Aevann1 2021-11-16 01:53:42 +02:00
parent fce6bf75df
commit 7eb3a556f9
1 changed files with 1 additions and 1 deletions

View File

@ -405,7 +405,7 @@ class User(Base):
@lazy
def profile_url(self):
if self.profileurl: return self.profileurl
elif "rama" in site: return f"http://{site}/assets/images/defaultpictures/{random.randint(1, 150)}.webp"
elif "rama" in site: return f"http://{site}/assets/images/defaultpictures/{random.randint(1, 150)}.webp?v=1"
else: return f"http://{site}/assets/images/default-profile-pic.webp"
@property