forked from MarseyWorld/MarseyWorld
fds
parent
9bcc5425d7
commit
a158c2b4ea
|
@ -501,7 +501,7 @@ class User(Base):
|
||||||
@property
|
@property
|
||||||
@lazy
|
@lazy
|
||||||
def profile_url(self):
|
def profile_url(self):
|
||||||
if self.agendaposter: return f"/assets/images/astolfo.webp"
|
if self.agendaposter: return f"/assets/images/astolfo.webp?v=1"
|
||||||
if self.profileurl:
|
if self.profileurl:
|
||||||
if self.profileurl.startswith('/'): return SITE_FULL + self.profileurl
|
if self.profileurl.startswith('/'): return SITE_FULL + self.profileurl
|
||||||
return self.profileurl
|
return self.profileurl
|
||||||
|
|
Loading…
Reference in New Issue