We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 61c17a9 commit 9cae134Copy full SHA for 9cae134
pyadmitad/py3.py
pyadmitad/transport.py
@@ -10,7 +10,6 @@
10
import logging
11
from pyadmitad.constants import *
12
from pyadmitad.exceptions import *
13
-from pyadmitad.py3 import binary
14
15
16
LOG = logging.getLogger(__file__)
@@ -79,7 +78,8 @@ def api_request(
79
78
80
def get_credentials(client_id, client_secret):
81
return b64encode(
82
- binary("%s:%s" % (client_id, client_secret))).decode('utf-8')
+ ("%s:%s" % (client_id, client_secret)).encode('utf-8')
+ ).decode('utf-8')
83
84
85
def api_post_request(url, **kwargs):
0 commit comments