fix: sort file by name
This commit is contained in:
@ -34,6 +34,7 @@ def main():
|
||||
copy_info: dict[str, str] = get_copy_info(copy_path)
|
||||
files: list[str] = [os.path.join(input_folder, f) for f in os.listdir(input_folder)]
|
||||
files = [f for f in files if os.path.isfile(f) and f.endswith(".NEF")]
|
||||
files.sort()
|
||||
with Bar("copying...", max=len(files)) as bar:
|
||||
for file in files:
|
||||
with open(file, 'rb') as f:
|
||||
|
Reference in New Issue
Block a user