Skip to content

Commit

Permalink
Merge pull request #41 from jacobwegner/fix-invitee
Browse files Browse the repository at this point in the history
fix invitee to call to_user_email method
  • Loading branch information
jacobwegner committed Mar 14, 2016
2 parents 69db10b + ef42c90 commit a6be17e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinax/teams/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -321,7 +321,7 @@ def remove(self):

@property
def invitee(self):
return self.user or self.invite.to_user_email
return self.user or self.invite.to_user_email()

def __str__(self):
return "{0} in {1}".format(self.user, self.team)
Expand Down

0 comments on commit a6be17e

Please # to comment.