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: except:
prio = 0 prio = 0
keyID = '' keyID = ''
if sigTag and GnuPG.USE_GPG: if sigTag and self.gpg:
#verify # verify
sigmsg = sigTag.getData() sigmsg = sigTag.getData()
keyID = self.gpg.verify(status, sigmsg) keyID = self.gpg.verify(status, sigmsg)