fix possible traceback when we get a signed presence

This commit is contained in:
Yann Leboulanger 2007-11-24 20:08:24 +00:00
parent 4a711a7542
commit 243ece28ba
1 changed files with 2 additions and 2 deletions

View File

@ -1853,8 +1853,8 @@ returns the session that we last sent a message to.'''
except:
prio = 0
keyID = ''
if sigTag and GnuPG.USE_GPG:
#verify
if sigTag and self.gpg:
# verify
sigmsg = sigTag.getData()
keyID = self.gpg.verify(status, sigmsg)