Skip to content

Commit

Permalink
fix #16, whoops
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiees2 committed Oct 2, 2016
1 parent ee7937f commit 43a28bf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/users.py
Expand Up @@ -89,7 +89,7 @@ def register():
tshirt_size=tshirt_size, gender=gender)
except exceptions.ValidationError as e:
if not join_team:
team.delete_instance()
t.delete_instance()
flash(str(e))
return redirect(url_for('.register'))
session["user_id"] = u.id
Expand Down

0 comments on commit 43a28bf

Please sign in to comment.