From a99c71b3e566cb2619696c8a545028675127a6b5 Mon Sep 17 00:00:00 2001 From: Scott Little Date: Fri, 26 Mar 2021 19:48:38 +0100 Subject: [PATCH] Change the auth value to have a proper string not a binary rep --- octodns/provider/easydns.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/octodns/provider/easydns.py b/octodns/provider/easydns.py index 835fcb9..d7a75a4 100644 --- a/octodns/provider/easydns.py +++ b/octodns/provider/easydns.py @@ -59,7 +59,7 @@ class EasyDNSClient(object): self.base_path = self.SANDBOX if sandbox else self.LIVE sess = Session() sess.headers.update({'Authorization': 'Basic {}' - .format(self.auth_key)}) + .format(self.auth_key.decode('utf-8'))}) sess.headers.update({'accept': 'application/json'}) self._sess = sess