fdssfd
This commit is contained in:
parent
ee681b4ed4
commit
5727a58d39
1 changed files with 1 additions and 1 deletions
|
@ -421,7 +421,7 @@ class User(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def profile_url(self):
|
def profile_url(self):
|
||||||
if self.grinch: return f"https://{site}/assets/images/grinch.webp?v=200"
|
if self.grincheffect: return f"https://{site}/assets/images/grinch.webp?v=200"
|
||||||
if self.agendaposter: return f"https://{site}/assets/images/defaultpictures/agendaposter/{random.randint(1, 50)}.webp?v=200"
|
if self.agendaposter: return f"https://{site}/assets/images/defaultpictures/agendaposter/{random.randint(1, 50)}.webp?v=200"
|
||||||
if self.profileurl: return self.profileurl
|
if self.profileurl: return self.profileurl
|
||||||
if "rama" in site: return f"https://{site}/assets/images/defaultpictures/{random.randint(1, 150)}.webp?v=200"
|
if "rama" in site: return f"https://{site}/assets/images/defaultpictures/{random.randint(1, 150)}.webp?v=200"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue