Skip to content

Commit 08065db

Browse files
committed
Fix type error, see #31
1 parent 58941cf commit 08065db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lintipy.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def token(self):
8383
bearer = jwt.encode(payload, self.pem, algorithm='RS256')
8484
headers = {
8585
'Accept': 'application/vnd.github.machine-man-preview+json',
86-
'Authorization': 'Bearer %s' % bearer.decode(encoding='UTF-8')
86+
'Authorization': 'Bearer %s' % bearer
8787
}
8888
url = (
8989
'https://api.github.com/app/installations/'

0 commit comments

Comments
 (0)