This commit is contained in:
Aevann1 2022-03-09 04:04:37 +02:00
parent febf7c98fb
commit 05ed7a2a05
26 changed files with 124 additions and 126 deletions

View file

@ -483,7 +483,8 @@ class User(Base):
return self.profileurl
if SITE_NAME == 'Drama':
self.profileurl = '/e/' + random.choice(marseys_const) + '.webp'
g.db.add(self)
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"