From f933b29b2e3a7cca644cd09ebb963641090c0d20 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 6 Jul 2005 14:07:20 +0000 Subject: [PATCH] when we choose None in ChooseGPGWindow, we don't print None in config file --- src/roster_window.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/roster_window.py b/src/roster_window.py index 4fadd937e..37668d9bc 100644 --- a/src/roster_window.py +++ b/src/roster_window.py @@ -557,8 +557,9 @@ class RosterWindow: keyID = w.run() if keyID == -1: return - if keyID[0] == 'None' and user.jid in keys: - del keys[user.jid] + if keyID[0] == 'None' + if user.jid in keys: + del keys[user.jid] else: keys[user.jid] = keyID[0] for u in self.contacts[account][user.jid]: