mirror of
https://github.com/HelloZeroNet/ZeroNet.git
synced 2023-12-14 04:33:03 +01:00
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 == "":
|
||||
return -1
|
||||
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 file in sorted(files):
|
||||
|
|
Loading…
Reference in a new issue