Fix case_insensitive_search
This commit is contained in:
parent
50033f42f6
commit
a3a7b25512
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ def case_insensitive_search(
|
|||
path = pathlib.Path(path).resolve()
|
||||
given_path = path.joinpath(item)
|
||||
real_path = None
|
||||
regex = fr'^{item}'
|
||||
regex = fr'^{item}$'
|
||||
|
||||
# Quick check
|
||||
if given_path.exists():
|
||||
|
|
|
|||
Loading…
Reference in a new issue