assert there is a string to GPG-verify
This commit is contained in:
parent
9bcd7a8eff
commit
f84c11956e
|
@ -138,6 +138,8 @@ else:
|
|||
return self.stripHeaderFooter(output)
|
||||
|
||||
def verify(self, str, sign):
|
||||
if not str:
|
||||
return ''
|
||||
file = TemporaryFile(prefix='gajim')
|
||||
fd = file.fileno()
|
||||
file.write(str)
|
||||
|
|
Loading…
Reference in New Issue