mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
fixed a type error when setting a custom value for PIPENV_TIMEOUT
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user