mirror of
https://github.com/davidhalter/jedi.git
synced 2026-10-22 03:17:05 +08:00
Fix project path finding
This commit is contained in:
1 parent
e6f934de11
commit
e4559bef51
1 file changed
+1
-1
+1
-1
@@ -116,7 +116,7 @@ class Project(object):
|
|||||||
|
|
||||||
def _is_potential_project(path):
|
def _is_potential_project(path):
|
||||||
for name in _CONTAINS_POTENTIAL_PROJECT:
|
for name in _CONTAINS_POTENTIAL_PROJECT:
|
||||||
if os.path.exists(os.path.join(path)):
|
if os.path.exists(os.path.join(path, name)):
|
||||||
return True
|
return True
|
||||||
return False
|
return False
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user