diff --git a/steam/guard.py b/steam/guard.py index d397fbb..b66072d 100644 --- a/steam/guard.py +++ b/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