sfd
This commit is contained in:
parent
a41b80c1f0
commit
155d56d012
3 changed files with 11 additions and 19 deletions
|
@ -481,12 +481,6 @@ class User(Base):
|
|||
if self.profileurl:
|
||||
if self.profileurl.startswith('/'): return SITE_FULL + self.profileurl
|
||||
return self.profileurl
|
||||
if SITE_NAME == 'Drama':
|
||||
self.profileurl = '/e/' + random.choice(marseys_const) + '.webp'
|
||||
try: g.db.add(self)
|
||||
except: pass
|
||||
g.db.commit()
|
||||
return self.profileurl
|
||||
return f"{SITE_FULL}/static/assets/images/default-profile-pic.webp?v=1008"
|
||||
|
||||
@lazy
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue