Skip to content

Commit

Permalink
Minor style adjustment
Browse files Browse the repository at this point in the history
  • Loading branch information
yuvipanda committed Apr 17, 2018
1 parent 02bb801 commit efb48ae
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 @@ -1250,7 +1250,7 @@ def options_from_form(self, formdata):
if not self.profile_list:
return formdata
# Default to first profile if somehow none is provided
selected_profile = int(formdata.get('profile',[0])[0])
selected_profile = int(formdata.get('profile', [0])[0])
options = self.profile_list[selected_profile]
self.log.debug("Applying KubeSpawner override for profile '%s'", options['display_name'])
kubespawner_override = options.get('kubespawner_override', {})
Expand Down

0 comments on commit efb48ae

Please sign in to comment.