Sort files
This commit is contained in:
parent
565eaf58c8
commit
56c55e005b
1 changed files with 1 additions and 1 deletions
|
@ -8,5 +8,5 @@ def get_files_content(filenames):
|
||||||
|
|
||||||
|
|
||||||
def read_files(files_glob):
|
def read_files(files_glob):
|
||||||
filenames = glob.iglob(files_glob)
|
filenames = sorted(glob.glob(files_glob))
|
||||||
return '\n'.join(list(get_files_content(filenames)))
|
return '\n'.join(list(get_files_content(filenames)))
|
||||||
|
|
Reference in a new issue