We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0732a31 commit 5c04629Copy full SHA for 5c04629
minfraud/webservice.py
@@ -43,9 +43,9 @@ def __init__(self,
43
"""
44
# pylint: disable=too-many-arguments
45
self._locales = locales
46
- # requests 2.12.2 requires that the username passed to auth be bytes
47
- # or a string, with the former being preferred.
48
- self._user_id = str(user_id).encode()
+ # requests 2.12.2 requires that the username passed to auth be a
+ # string
+ self._user_id = str(user_id)
49
self._license_key = license_key
50
self._base_uri = u'https://{0:s}/minfraud/v2.0'.format(host)
51
self._timeout = timeout
0 commit comments