diff --git a/steam/guard.py b/steam/guard.py index 5fe77f5..60f7732 100644 --- a/steam/guard.py +++ b/steam/guard.py @@ -241,7 +241,7 @@ class SteamAuthenticator(object): :return: list of codes :rtype: list """ - return self._send_request('CreateEmergencyCodes', {}).get('code', []) + return self._send_request('CreateEmergencyCodes', {}).get('codes', []) def destroy_emergency_codes(self): """Destroy all emergency codes