fdsfsd
This commit is contained in:
parent
3b6330e757
commit
4adf03be48
7 changed files with 123 additions and 165 deletions
|
@ -267,6 +267,7 @@ class User(Base):
|
|||
@property
|
||||
@lazy
|
||||
def bio_html_eager(self):
|
||||
if self.bio_html == None: return ''
|
||||
return self.bio_html.replace('data-src', 'src').replace('src="/assets/images/loading.webp"', '')
|
||||
|
||||
@property
|
||||
|
@ -434,7 +435,7 @@ class User(Base):
|
|||
'profile_url': self.profile_url,
|
||||
'bannerurl': self.bannerurl,
|
||||
'bio': self.bio,
|
||||
'bio_html': self.bio_html,
|
||||
'bio_html': self.bio_html_eager,
|
||||
'flair': self.customtitle
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue