Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 22, 2024
1 parent 39ada47 commit afaa989
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions website/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@ def has_public_profile(user):

# Thanks to https://stackoverflow.com/a/34499643


def hide_explore(user):
if 'username' not in user or user.get('username') == '':
return False
Expand Down

0 comments on commit afaa989

Please sign in to comment.