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