Ignore case in file merge order
This commit is contained in:
parent
d17cb3fafc
commit
b0a125c113
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ def findfiles(path, find_ext):
|
||||||
elif f2 == "":
|
elif f2 == "":
|
||||||
return -1
|
return -1
|
||||||
else:
|
else:
|
||||||
return cmp(f1, f2)
|
return cmp(f1.lower(), f2.lower())
|
||||||
|
|
||||||
for root, dirs, files in sorted(os.walk(path, topdown=False), cmp=sorter):
|
for root, dirs, files in sorted(os.walk(path, topdown=False), cmp=sorter):
|
||||||
for file in sorted(files):
|
for file in sorted(files):
|
||||||
|
|
Loading…
Reference in a new issue