diff --git a/steam/guard.py b/steam/guard.py index d1a19dc..d397fbb 100644 --- a/steam/guard.py +++ b/steam/guard.py @@ -181,7 +181,7 @@ class SteamAuthenticator(object): raise SteamAuthenticatorError("Failed to add authenticator. Error: %s" % repr(EResult(resp['status']))) try: - if not re.search('[&\?].*digits', resp['uri']): + if not re.search(r'[&\?].*digits', resp['uri']): resp['uri'] += '&digits=5' except KeyError, AttributeError: pass