From a245bbe624b002daa8031d55ca24e8d187cd5ec5 Mon Sep 17 00:00:00 2001 From: lukebarnard Date: Thu, 21 May 2015 14:49:15 +0200 Subject: [PATCH] Typo - instead of = --- server/o2m/basic_client/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/o2m/basic_client/views.py b/server/o2m/basic_client/views.py index 2076db2..b4704a6 100644 --- a/server/o2m/basic_client/views.py +++ b/server/o2m/basic_client/views.py @@ -356,7 +356,7 @@ def get_friends_included(self): def get_context_data(self, **kwargs): context = super(FriendView, self).get_context_data(**kwargs) - context.update(friend = self.friend, non_friend = (self.friend.password == 'NOTFRIENDS'), request_sent = (self.friend.password == 'REQUESTSENT'), request_received - (self.friend.password == 'REQUESTRECEIVED')) + context.update(friend = self.friend, non_friend = (self.friend.password == 'NOTFRIENDS'), request_sent = (self.friend.password == 'REQUESTSENT'), request_received = (self.friend.password == 'REQUESTRECEIVED')) return context