From ea3d5c5ac094787413558675b72515d4216fed5c Mon Sep 17 00:00:00 2001 From: Rossen Georgiev Date: Sat, 18 Jun 2016 10:21:44 +0100 Subject: [PATCH] SA: used entire AddAuthenticator response --- steam/guard.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/steam/guard.py b/steam/guard.py index a4a3bbf..6a78c6f 100644 --- a/steam/guard.py +++ b/steam/guard.py @@ -154,10 +154,7 @@ class SteamAuthenticator(object): if resp['status'] != EResult.OK: raise SteamAuthenticatorError("Failed to add authenticator. Error: %s" % repr(EResult(resp['status']))) - for key in ['shared_secret', 'identity_secret', 'serial_number', 'secret_1', 'revocation_code', 'token_gid']: - if key in resp: - self.secrets[key] = resp[key] - + self.secrets = resp self.steam_time_offset = int(resp['server_time']) - time() def finalize(self, activation_code):