Skip to content

Commit

Permalink
actually fix the forum thing
Browse files Browse the repository at this point in the history
  • Loading branch information
aletson committed Feb 4, 2021
1 parent 7c82092 commit ee21f52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion votefinder/main/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -405,7 +405,7 @@ class AddPlayerForm(forms.Form):

def clean_name(self):
name = self.cleaned_data['name']
forum = self.cleaned_data['forum']
forum = self.data.get('forum')
try:
if forum == 'sa':
self.player = Player.objects.filter(sa_uid__isnull=False).get(name=name)
Expand Down

0 comments on commit ee21f52

Please sign in to comment.