Use is rather than ==

This commit is contained in:
George Drummond
2019-03-19 09:44:50 -04:00
parent 68d33ed558
commit cb222b1bd0

View File

@@ -49,7 +49,7 @@ class PDFSignature:
"""
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"]:
if (
self.signers_serial