1
0
forked from VimPlug/jedi

Add Project.path, fixes #1622

This commit is contained in:
Dave Halter
2020-06-27 00:43:19 +02:00
parent bc23458164
commit 344fef1e2f
5 changed files with 12 additions and 4 deletions

View File

@@ -192,7 +192,7 @@ class Importer(object):
import_path = base + tuple(import_path)
else:
path = module_context.py__file__()
project_path = self._inference_state.project._path
project_path = self._inference_state.project.path
import_path = list(import_path)
if path is None:
# If no path is defined, our best guess is that the current