Fixed some line spacing
This commit is contained in:
parent
b7dc2e1dce
commit
6cdc40516a
1 changed files with 2 additions and 0 deletions
|
@ -12,9 +12,11 @@ def get_display_name(username):
|
|||
def is_verified(username):
|
||||
return accounts_db.find_one({'username': username})['verified']
|
||||
|
||||
|
||||
def is_following(follower, following):
|
||||
return bool( accounts_db.find_one({'username': following.lower()})['_id'] in accounts_db.find_one({'username': follower.lower()})['following'] )
|
||||
|
||||
|
||||
def account_exists(username):
|
||||
return bool(accounts_db.find_one({'username': username}))
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue