From 92115cbca0ea2b6e6e4813af3f800a73f424fcb1 Mon Sep 17 00:00:00 2001 From: Adrien Ferrand Date: Thu, 16 Nov 2023 23:26:34 +0100 Subject: [PATCH] Fix linting --- src/dnsrobocert/core/challenge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/dnsrobocert/core/challenge.py b/src/dnsrobocert/core/challenge.py index 0a34c8c5..fceab696 100644 --- a/src/dnsrobocert/core/challenge.py +++ b/src/dnsrobocert/core/challenge.py @@ -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}" )