Browse Source

Python 3: Except-statement tuple

pull/313/head
James Edington 5 years ago
parent
commit
d244624d6c
  1. 2
      steam/guard.py

2
steam/guard.py

@ -183,7 +183,7 @@ class SteamAuthenticator(object):
try:
if not re.search(r'[&\?].*digits', resp['uri']):
resp['uri'] += '&digits=5'
except KeyError, AttributeError:
except (KeyError, AttributeError):
pass
self.secrets = resp

Loading…
Cancel
Save