Skip to content

Commit 04674bc

Browse files
committed
Fix bug with finding path
1 parent d178d70 commit 04674bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rplugin/python3/acid/pure/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ def path_to_ns(path, stop_paths=None, base_files=None):
4141
path[-1] = path[-1].split('.')[0]
4242
for ix, _ in enumerate(path):
4343
for bf in base_files:
44-
if os.path.exists(os.path.join(*["/", *path[:ix], bp])):
44+
if os.path.exists(os.path.join(*["/", *path[:ix], bf])):
4545
raw_path_list = path[ix+1:]
4646
break
4747

0 commit comments

Comments
 (0)