Skip to content

Commit 10ca948

Browse files
Merge pull request #1 from Zenuncl/main
Fix 'SyntaxError: f-string: unmatched' error
2 parents d62ef8b + 18a6933 commit 10ca948

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

octodns_desec/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ def _send_request(
141141

142142
if r is not None and r.status_code != returncode:
143143
self.log.warning(
144-
f'API-Response: status code: {r.status_code} (expected {returncode}), content: {r.content.decode('UTF-8')}'
144+
f"API-Response: status code: {r.status_code} (expected {returncode}), content: {r.content.decode('UTF-8')}"
145145
)
146146

147147
# No retrying will fix these http error
@@ -411,7 +411,7 @@ def _apply(self, plan):
411411
self.log.warning(
412412
f"Created domain {plan.desired.name.rstrip('.')}, make sure to setup DNSSEC! (login at deSEC for details)"
413413
)
414-
self.log.warning(f"DNSKEY: {r["keys"][0]["dnskey"]}")
414+
self.log.warning(f'DNSKEY: {r["keys"][0]["dnskey"]}')
415415
for ds in r["keys"][0]["ds"]:
416416
self.log.warning(f"DS: {ds}")
417417
self.log.warning("NS: ns1.desec.io.")

0 commit comments

Comments
 (0)