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