fdfd
This commit is contained in:
parent
3fbb85f11a
commit
ac35794962
2 changed files with 9 additions and 15 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue