Skip to content

Commit

Permalink
Code cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
seanthegeek committed Oct 29, 2024
1 parent 4e587ed commit 9d29891
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions checkdmarc/bimi.py
Original file line number Diff line number Diff line change
Expand Up @@ -569,10 +569,7 @@ def parse_bimi_record(
pem_bytes = response.content
cert_metadata = get_certificate_metadata(pem_bytes, domain=domain)
if image_metadata is not None:
if (
image_metadata["sha256"]
== cert_metadata["logotype_sha256"]
):
if image_metadata["sha256"] == cert_metadata["logotype_sha256"]:
hash_match = True
else:
warnings.append(
Expand Down

0 comments on commit 9d29891

Please sign in to comment.