From d3089ffa8c7990129115dcd80051dfe7ed1bd036 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 11 Oct 2005 16:35:33 +0000 Subject: [PATCH] fix TB --- src/roster_window.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/roster_window.py b/src/roster_window.py index 0326085de..3daf7ee90 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -202,7 +202,8 @@ class RosterWindow: if group in gajim.contacts[account][jid][0].groups: break else: - del gajim.groups[account][group] + if gajim.groups[account].has_key(group): + del gajim.groups[account][group] def get_appropriate_state_images(self, jid): '''check jid and return the appropriate state images dict'''