From 1818dc6afa859295f91ca9b0ce1c56b0d3c8e2d3 Mon Sep 17 00:00:00 2001 From: Erin O'Connell Date: Sat, 10 Jun 2017 01:17:30 -0600 Subject: [PATCH] fixed a type error when setting a custom value for PIPENV_TIMEOUT --- pipenv/environments.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipenv/environments.py b/pipenv/environments.py index 1a852ed9..ceadeb89 100644 --- a/pipenv/environments.py +++ b/pipenv/environments.py @@ -37,4 +37,4 @@ if os.name == 'nt': PIPENV_NOSPIN = True # Tells pipenv how long to wait for virtualenvs to be created in seconds -PIPENV_TIMEOUT = os.environ.get('PIPENV_TIMEOUT') or 120 +PIPENV_TIMEOUT = int(os.environ.get('PIPENV_TIMEOUT')) or 120