1
0
mirror of https://github.com/github/octodns.git synced 2024-05-11 05:55:00 +00:00

Change the auth value to have a proper string not a binary rep

This commit is contained in:
Scott Little
2021-03-26 19:48:38 +01:00
committed by GitHub
parent 12dae35447
commit a99c71b3e5

View File

@@ -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