This commit is contained in:
Aevann1 2021-07-29 02:11:37 +02:00
parent 3fbb85f11a
commit ac35794962
2 changed files with 9 additions and 15 deletions

View file

@ -422,8 +422,7 @@ class User(Base, Stndrd, Age_times):
def has_follower(self, user):
return g.db.query(Follow).filter_by(
target_id=self.id, user_id=user.id).first()
return g.db.query(Follow).filter_by(target_id=self.id, user_id=user.id).first()
@property