From d403e1c84940c7ccc51ea03e78e949a69463487b Mon Sep 17 00:00:00 2001 From: James Edington Date: Sun, 21 Feb 2021 19:33:23 -0600 Subject: [PATCH] Python 3: fix escaped character --- steam/guard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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