diff --git a/src/pythonfinder/models/path.py b/src/pythonfinder/models/path.py index d112386..e65a903 100644 --- a/src/pythonfinder/models/path.py +++ b/src/pythonfinder/models/path.py @@ -429,7 +429,7 @@ def get_path(self, path): _path = self.paths.get(path) if not _path: _path = self.paths.get(path.as_posix()) - if not _path and path.as_posix() in self.path_order: + if not _path and os.path.normcase(path.as_posix()) in self.path_order: _path = PathEntry.create( path=path.absolute(), is_root=True, only_python=self.only_python )