Skip to content
Snippets Groups Projects
Commit f84c1195 authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

assert there is a string to GPG-verify

parent 9bcd7a8e
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment