Browse Source

fix create_emergency_codes() not returning codes

pull/171/head
Rossen Georgiev 6 years ago
parent
commit
1f86e9ff67
  1. 2
      steam/guard.py

2
steam/guard.py

@ -241,7 +241,7 @@ class SteamAuthenticator(object):
:return: list of codes :return: list of codes
:rtype: list :rtype: list
""" """
return self._send_request('CreateEmergencyCodes', {}).get('code', []) return self._send_request('CreateEmergencyCodes', {}).get('codes', [])
def destroy_emergency_codes(self): def destroy_emergency_codes(self):
"""Destroy all emergency codes """Destroy all emergency codes

Loading…
Cancel
Save