Browse Source

Python 3: fix escaped character

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

2
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

Loading…
Cancel
Save