id is a reserved name, even as an attribute. We now use id_ instead

This commit is contained in:
Jeppe Klitgaard 2015-04-06 15:44:51 +02:00
parent fde8286e7e
commit 971506533c
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class AuthenticationToken(object):
self.access_token = json_resp["accessToken"]
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"]
return True