Directory index is now sorted alphabetical
This commit is contained in:
parent
b1891da417
commit
709c2ad9da
|
@ -361,7 +361,7 @@ class DirListingHandler(FileBaseHandler):
|
||||||
</body>
|
</body>
|
||||||
</html>""" % {'version': __version__}
|
</html>""" % {'version': __version__}
|
||||||
content = []
|
content = []
|
||||||
for item in [".."] + os.listdir(path):
|
for item in [".."] + sorted(os.listdir(path)):
|
||||||
# create path to item
|
# create path to item
|
||||||
itemPath = os.path.join(path, item)
|
itemPath = os.path.join(path, item)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue