Skip to content

Commit

Permalink
fix, not sure why this is necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
alex committed Oct 27, 2009
1 parent f040879 commit 92207b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion friends/templatetags/friends_tags.py
Expand Up @@ -20,7 +20,7 @@ def render(self, context):
else:
status = FriendshipInvitation.objects.invitation_status(user1, user2)
if status is not None:
status = INVITE_STATUS[status-1]
status = INVITE_STATUS[int(status)-1]
if self.varname:
context[self.varname] = status
return ''
Expand Down

0 comments on commit 92207b3

Please sign in to comment.