From afaa989da9b6622ae3eff5acc6a03ff8feded0d2 Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 22 Apr 2024 15:03:18 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- website/auth.py | 1 + 1 file changed, 1 insertion(+) diff --git a/website/auth.py b/website/auth.py index 386811f2d7f..175e4c3f57d 100644 --- a/website/auth.py +++ b/website/auth.py @@ -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