fix: copy only .NEF
This commit is contained in:
parent
ff56bac2cd
commit
de051f222d
@ -33,7 +33,7 @@ def main():
|
||||
copy_path = os.path.join(output_folder, "ph_copy.txt")
|
||||
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)]
|
||||
files = [f for f in files if os.path.isfile(f) and f.endswith(".NEF")]
|
||||
with Bar("copying...", max=len(files)) as bar:
|
||||
for file in files:
|
||||
with open(file, 'rb') as f:
|
||||
|
Loading…
Reference in New Issue
Block a user