fix for last commit

master
Aevann1 2022-12-13 20:52:28 +02:00
parent 36fca9caab
commit 1ba74ad8fa
1 changed files with 1 additions and 1 deletions

View File

@ -1121,4 +1121,4 @@ class User(Base):
@property
@lazy
def shadowbanner(self):
return g.db.query(User.username).filter_by(id=self.shadowbanned).one()
return g.db.query(User.username).filter_by(id=self.shadowbanned).one()[0]