mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-08 10:44:09 -04:00
Merge branch 'sort' of https://github.com/bmwiedemann/calibre
This commit is contained in:
commit
7c07d114ac
@ -88,7 +88,7 @@ def expand_file_list(items, is_paths=True):
|
||||
ans.extend(expand_file_list(item, is_paths=is_paths))
|
||||
else:
|
||||
if '*' in item:
|
||||
ans.extend(expand_file_list(glob.glob(os.path.join(SRC, item)), is_paths=is_paths))
|
||||
ans.extend(expand_file_list(sorted(glob.glob(os.path.join(SRC, item))), is_paths=is_paths))
|
||||
else:
|
||||
item = [item]
|
||||
if is_paths:
|
||||
|
Loading…
x
Reference in New Issue
Block a user