Skip to content

Commit

Permalink
Merge pull request #662 from GeorgianaElena/fix-bug
Browse files Browse the repository at this point in the history
Fix dict keys iteration
  • Loading branch information
yuvipanda committed Nov 2, 2022
2 parents ca30403 + 75e29b4 commit a666d22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kubespawner/spawner.py
Original file line number Diff line number Diff line change
Expand Up @@ -3026,7 +3026,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 a666d22

Please sign in to comment.