Skip to content

Commit

Permalink
Fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
adferrand committed Nov 16, 2023
1 parent cefbebe commit 92115cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dnsrobocert/core/challenge.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def txt_challenge(
challenge_name = f"_acme-challenge.{domain}."
if certificate.get("follow_cnames"):
print(f"Trying to resolve the canonical challenge name for {challenge_name}")
canonical_challenge_name = dns.resolver.canonical_name(challenge_name)
canonical_challenge_name = str(dns.resolver.canonical_name(challenge_name))
print(
f"Canonical challenge name found for {challenge_name}: {canonical_challenge_name}"
)
Expand Down

0 comments on commit 92115cb

Please sign in to comment.