Use is rather than ==
This commit is contained in:
parent
68d33ed558
commit
cb222b1bd0
@ -49,7 +49,7 @@ class PDFSignature:
|
|||||||
"""
|
"""
|
||||||
This returns the certificate used to sign the PDF
|
This returns the certificate used to sign the PDF
|
||||||
"""
|
"""
|
||||||
if self._signers_cert == None:
|
if self._signers_cert is None:
|
||||||
for cert in self.signed_binary_data["certificates"]:
|
for cert in self.signed_binary_data["certificates"]:
|
||||||
if (
|
if (
|
||||||
self.signers_serial
|
self.signers_serial
|
||||||
|
Loading…
x
Reference in New Issue
Block a user