fix traceback when canceling GPG passphrase dialog

This commit is contained in:
Yann Leboulanger 2008-07-31 20:08:36 +00:00
parent 81509d894a
commit 3f3e33c846
1 changed files with 1 additions and 2 deletions

View File

@ -468,8 +468,7 @@ class PassphraseRequest:
def _cancel():
# user cancelled, continue without GPG
gajim.connections[account].gpg_passphrase(None)
callback()
self.complete(None)
def _ok(passphrase, checked, count):
if count < 3: