Show More
@@ -661,8 +661,9 def fspath(name, root): | |||||
661 | contents = _fspathcache[dir] |
|
661 | contents = _fspathcache[dir] | |
662 |
|
662 | |||
663 | lpart = part.lower() |
|
663 | lpart = part.lower() | |
|
664 | lenp = len(part) | |||
664 | for n in contents: |
|
665 | for n in contents: | |
665 | if n.lower() == lpart: |
|
666 | if lenp == len(n) and n.lower() == lpart: | |
666 | result.append(n) |
|
667 | result.append(n) | |
667 | break |
|
668 | break | |
668 | else: |
|
669 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now