mirror of
https://github.com/ammaraskar/pyCraft.git
synced 2025-02-27 09:12:09 +01:00
id is a reserved name, even as an attribute. We now use id_ instead
This commit is contained in:
parent
fde8286e7e
commit
971506533c
@ -157,7 +157,7 @@ class AuthenticationToken(object):
|
|||||||
|
|
||||||
self.access_token = json_resp["accessToken"]
|
self.access_token = json_resp["accessToken"]
|
||||||
self.client_token = json_resp["clientToken"]
|
self.client_token = json_resp["clientToken"]
|
||||||
self.profile.id = json_resp["selectedProfile"]["id"]
|
self.profile.id_ = json_resp["selectedProfile"]["id"]
|
||||||
self.profile.name = json_resp["selectedProfile"]["name"]
|
self.profile.name = json_resp["selectedProfile"]["name"]
|
||||||
|
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user