mirror of
https://github.com/kennethreitz/pipenv.git
synced 2026-06-05 22:50:18 +00:00
Merge pull request #1041 from techalchemy/bugfix/virtualenv-bin-python-check
Check if virtualenv location really exists
This commit is contained in:
+1
-1
@@ -103,7 +103,7 @@ class Project(object):
|
||||
@property
|
||||
def virtualenv_exists(self):
|
||||
# TODO: Decouple project from existence of Pipfile.
|
||||
if self.pipfile_exists:
|
||||
if self.pipfile_exists and os.path.exists(self.virtualenv_location):
|
||||
if os.name == 'nt':
|
||||
extra = ['Scripts', 'activate.bat']
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user