Skip to content

Commit

Permalink
Correct default team label
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Dec 11, 2012
1 parent 7073f03 commit 0b8b8ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/web/forms/fields.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,6 @@ def get_team_choices(team_list, default=None):
if default is None:
choices.insert(0, (-1, mark_safe('–' * 8)))
elif default not in sorted_team_list:
choices.insert(0, (team.id, get_team_label(default)))
choices.insert(0, (default.id, get_team_label(default)))

return choices

0 comments on commit 0b8b8ed

Please sign in to comment.