From 971506533c63b7db7fe65f1d7950c562c2145f42 Mon Sep 17 00:00:00 2001 From: Jeppe Klitgaard Date: Mon, 6 Apr 2015 15:44:51 +0200 Subject: [PATCH] id is a reserved name, even as an attribute. We now use id_ instead --- minecraft/authentication.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/minecraft/authentication.py b/minecraft/authentication.py index 7528f58..816bc73 100644 --- a/minecraft/authentication.py +++ b/minecraft/authentication.py @@ -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