Browse Source

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

pull/686/head
Scott Little 5 years ago
committed by GitHub
parent
commit
a99c71b3e5
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      octodns/provider/easydns.py

+ 1
- 1
octodns/provider/easydns.py 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


Loading…
Cancel
Save