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 Aug 18, 2022
1 parent 6eed376 commit bd9480f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions kubespawner/spawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -2989,9 +2989,7 @@ async def _load_profile(self, slug, selected_profile_user_options):
# are in the form data posted. This prevents users who may be authorized
# to only use one profile from being able to access options set for other
# profiles
for (
user_selected_option_name,
) in selected_profile_user_options.keys():
for (user_selected_option_name,) in selected_profile_user_options.keys():
if (
user_selected_option_name
not in profile.get('profile_options').keys()
Expand Down

0 comments on commit bd9480f

Please sign in to comment.