From 43bcab5f0e0fbb14eaad6c724c421bcac4805a79 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 11 May 2006 23:03:40 -0400 Subject: [PATCH] Nice typo --- chat/chat.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chat/chat.py b/chat/chat.py index e0705387..b5786e48 100755 --- a/chat/chat.py +++ b/chat/chat.py @@ -365,7 +365,7 @@ class GroupChat(Chat): self._controller.notify_new_message(self, None) def _buddy_recv_message(self, sender, msg): - if self._chats.has_key[sender]: + if self._chats.has_key(sender): chat = BuddyChat(self, sender) self._chats[buddy] = chat chat.activity_connect_to_shell()