Skip to content
This repository was archived by the owner on Jan 18, 2025. It is now read-only.

Commit fc23a7f

Browse files
committed
py3 fix for AppAssertionCredentials on GCE
fixes #150
1 parent 26adb9a commit fc23a7f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

oauth2client/gce.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ def _refresh(self, http_request):
8383
response, content = http_request(uri)
8484
if response.status == 200:
8585
try:
86-
d = json.loads(content)
86+
d = json.loads(content.decode('UTF-8'))
8787
except Exception as e:
8888
raise AccessTokenRefreshError(str(e))
8989
self.access_token = d['accessToken']

0 commit comments

Comments
 (0)