Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fix.

  • Loading branch information...
commit 4d6e057aa4b1d2b8742df2d767c834b4154780a9 1 parent 92207b3
@alex alex authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  friends/templatetags/friends_tags.py
View
2  friends/templatetags/friends_tags.py
@@ -20,7 +20,7 @@ def render(self, context):
else:
status = FriendshipInvitation.objects.invitation_status(user1, user2)
if status is not None:
- status = INVITE_STATUS[int(status)-1]
+ status = INVITE_STATUS[int(status)-1][1]
if self.varname:
context[self.varname] = status
return ''
Please sign in to comment.
Something went wrong with that request. Please try again.