sorting.. fix

This commit is contained in:
Dooho Yi 2021-01-08 02:16:05 +09:00
parent dd44f4c6e9
commit 94861a81d1
3 changed files with 3 additions and 1 deletions

View file

@ -113,7 +113,7 @@ def write_index(args,index, html, html_head, html_footer):
def render_dir(args, root):
html = []
for name in os.listdir(root):
for name in sorted(os.listdir(root)):
if args.no_hidden:
if name.startswith('.'):

View file

@ -0,0 +1 @@
2

View file

@ -0,0 +1 @@
3