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

@@ -36,7 +36,7 @@ def complete_file_name(inference_state, module_context, start_leaf, quote, strin
is_in_os_path_join = False
else:
string = to_be_added + string
base_path = os.path.join(inference_state.project._path, string)
base_path = os.path.join(inference_state.project.path, string)
try:
listed = sorted(scandir(base_path), key=lambda e: e.name)
# OSError: [Errno 36] File name too long: '...'