Browse Source
Merge pull request #686 from Smallcubed/smallcubed-easydns-patch
Change the auth value to have a proper string not a binary rep
pull/693/head
Ross McFarland
5 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
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 |
|
|
|
|
|
|
|
|