vc
This commit is contained in:
parent
4b34f44792
commit
f46846bf9e
8 changed files with 8 additions and 8 deletions
|
@ -433,7 +433,7 @@ class User(Base):
|
|||
def profile_url(self):
|
||||
if self.agendaposter: return f"{SITE_FULL}/static/assets/images/defaultpictures/agendaposter/{random.randint(1, 51)}.webp?a=1008"
|
||||
if self.profileurl: return self.profileurl
|
||||
if SITE_NAME == 'rdrama.net': return f"{SITE_FULL}/static/assets/images/defaultpictures/{random.randint(1, 150)}.webp?a=1008"
|
||||
if SITE_NAME == 'Drama': return f"{SITE_FULL}/static/assets/images/defaultpictures/{random.randint(1, 150)}.webp?a=1008"
|
||||
return f"{SITE_FULL}/static/assets/images/default-profile-pic.webp?a=1008"
|
||||
|
||||
@lazy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue