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:
Joseph Nix 2018-01-10 18:09:52 -06:00 committed by GitHub
commit d01c5af948
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -146,7 +146,7 @@ if 1:
get_confirmation() 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': if url['python_version'] == 'source':
virtualenv = url['url'] virtualenv = url['url']
break break