sort bib
This commit is contained in:
@@ -84,6 +84,10 @@ if __name__ == "__main__":
|
|||||||
else:
|
else:
|
||||||
bibliography = utils.ls_dir(bibliography_dir)
|
bibliography = utils.ls_dir(bibliography_dir)
|
||||||
|
|
||||||
|
bibliography = sorted(bibliography, key=lambda x: str(x))
|
||||||
|
|
||||||
|
print(bibliography)
|
||||||
|
|
||||||
for b in bibliography:
|
for b in bibliography:
|
||||||
reading_list = utils.get_files_in_subdir(bibliography_dir, b.stem, 'md')
|
reading_list = utils.get_files_in_subdir(bibliography_dir, b.stem, 'md')
|
||||||
if not reading_list:
|
if not reading_list:
|
||||||
|
|||||||
Reference in New Issue
Block a user