Browse Source

SA: add key name to AttributeError

[ci skip]
pull/41/head v0.8.3
Rossen Georgiev 9 years ago
parent
commit
f37ac6158f
  1. 2
      steam/guard.py

2
steam/guard.py

@ -70,7 +70,7 @@ class SteamAuthenticator(object):
def __getattr__(self, key):
if key not in self.secrets:
raise AttributeError("No such attribute")
raise AttributeError("No %s attribute" % repr(key))
return self.secrets[key]
def get_time(self):

Loading…
Cancel
Save