Skip to content

Commit 9cae134

Browse files
committed
Remover py3 file
1 parent 61c17a9 commit 9cae134

File tree

2 files changed

+2
-31
lines changed

2 files changed

+2
-31
lines changed

pyadmitad/py3.py

Lines changed: 0 additions & 29 deletions
This file was deleted.

pyadmitad/transport.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
import logging
1111
from pyadmitad.constants import *
1212
from pyadmitad.exceptions import *
13-
from pyadmitad.py3 import binary
1413

1514

1615
LOG = logging.getLogger(__file__)
@@ -79,7 +78,8 @@ def api_request(
7978

8079
def get_credentials(client_id, client_secret):
8180
return b64encode(
82-
binary("%s:%s" % (client_id, client_secret))).decode('utf-8')
81+
("%s:%s" % (client_id, client_secret)).encode('utf-8')
82+
).decode('utf-8')
8383

8484

8585
def api_post_request(url, **kwargs):

0 commit comments

Comments
 (0)