sorting.. fix
This commit is contained in:
parent
dd44f4c6e9
commit
94861a81d1
3 changed files with 3 additions and 1 deletions
|
|
@ -113,7 +113,7 @@ def write_index(args,index, html, html_head, html_footer):
|
||||||
def render_dir(args, root):
|
def render_dir(args, root):
|
||||||
html = []
|
html = []
|
||||||
|
|
||||||
for name in os.listdir(root):
|
for name in sorted(os.listdir(root)):
|
||||||
|
|
||||||
if args.no_hidden:
|
if args.no_hidden:
|
||||||
if name.startswith('.'):
|
if name.startswith('.'):
|
||||||
|
|
|
||||||
1
sample/notes/20210107T184852+0900_또다른 경우/2.txt
Normal file
1
sample/notes/20210107T184852+0900_또다른 경우/2.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
2
|
||||||
1
sample/notes/20210107T184852+0900_또다른 경우/3.txt
Normal file
1
sample/notes/20210107T184852+0900_또다른 경우/3.txt
Normal file
|
|
@ -0,0 +1 @@
|
||||||
|
3
|
||||||
Loading…
Reference in a new issue