when we choose None in ChooseGPGWindow, we don't print None in config file
This commit is contained in:
parent
3cb66c10d8
commit
f933b29b2e
|
@ -557,7 +557,8 @@ class RosterWindow:
|
|||
keyID = w.run()
|
||||
if keyID == -1:
|
||||
return
|
||||
if keyID[0] == 'None' and user.jid in keys:
|
||||
if keyID[0] == 'None'
|
||||
if user.jid in keys:
|
||||
del keys[user.jid]
|
||||
else:
|
||||
keys[user.jid] = keyID[0]
|
||||
|
|
Loading…
Reference in New Issue