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 62a9394 commit 2b96116Copy full SHA for 2b96116
geoip2/webservice.py
@@ -95,7 +95,7 @@ def __init__(self,
95
self._locales = locales
96
# requests 2.12.2 requires that the username passed to auth be bytes
97
# or a string, with the former being preferred.
98
- self._user_id = str(user_id).encode()
+ self._user_id = str(user_id)
99
self._license_key = license_key
100
self._base_uri = 'https://%s/geoip/v2.1' % host
101
self._timeout = timeout
0 commit comments