Skip to content

Commit d77dd98

Browse files
committed
Fix argument
1 parent eb8664d commit d77dd98

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bpython/importcompletion.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def __init__(
7272
paths = sys.path
7373

7474
self.find_iterator = self.find_all_modules(
75-
(Path(p).resolve() if p else Path.cwd() for p in sys.path)
75+
(Path(p).resolve() if p else Path.cwd() for p in paths)
7676
)
7777

7878
def module_matches(self, cw: str, prefix: str = "") -> Set[str]:

0 commit comments

Comments
 (0)