Merge pull request #168 from arkane0906/patch-1
Encoding issue with parsing response from https://pypi.python.org/pypi/virtualenv/json
This commit is contained in:
commit
d01c5af948
|
@ -146,7 +146,7 @@ if 1:
|
|||
|
||||
get_confirmation()
|
||||
|
||||
for url in json.load(urlopen(VENV_URL))['urls']:
|
||||
for url in json.loads(urlopen(VENV_URL).read().decode('utf-8'))['urls']:
|
||||
if url['python_version'] == 'source':
|
||||
virtualenv = url['url']
|
||||
break
|
||||
|
|
Loading…
Reference in New Issue