1
0
forked from VimPlug/jedi

Better support for searching python environments

This commit is contained in:
Dave Halter
2017-12-15 12:19:52 +01:00
parent c3efde3bfa
commit 3cd5fa3c20
4 changed files with 54 additions and 17 deletions

View File

@@ -121,7 +121,7 @@ class Script(object):
compiled_subprocess = None
else:
if environment is None:
environment = DefaultEnvironment(self.path)
environment = DefaultEnvironment()
compiled_subprocess = environment.get_subprocess()
self._evaluator = Evaluator(self._grammar, project, compiled_subprocess)
project.add_script_path(self.path)