1
0
forked from VimPlug/jedi

Refactor django path support

This commit is contained in:
Dave Halter
2018-01-24 19:13:05 +01:00
parent e4559bef51
commit 68f840de60
7 changed files with 70 additions and 36 deletions
+1 -1
View File
@@ -101,7 +101,7 @@ class Script(object):
sys_path = list(map(force_unicode, sys_path))
# Load the Python grammar of the current interpreter.
project = get_default_project()
project = get_default_project(path or os.getcwd())
# TODO deprecate and remove sys_path from the Script API.
if sys_path is not None:
project._sys_path = sys_path