diff --git a/files/classes/user.py b/files/classes/user.py index e00680caf..7c1df12cd 100644 --- a/files/classes/user.py +++ b/files/classes/user.py @@ -560,7 +560,7 @@ class User(Base): @lazy def all_twoway_blocks(self): return set([x[0] for x in g.db.query(UserBlock.target_id).filter_by(user_id=self.id).all() + \ - g.db.query(UserBlock.user_id).filter_by(target_id=self.id)]) + g.db.query(UserBlock.user_id).filter_by(target_id=self.id).all()]) def validate_2fa(self, token):