Browse Source

fix create_emergency_codes() not returning codes

0.9
Rossen Georgiev 6 years ago
parent
commit
c4197c15a4
  1. 2
      steam/guard.py

2
steam/guard.py

@ -238,7 +238,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

Loading…
Cancel
Save