exv.py : mise à jour de la liste avec .copy() (sinon les dictionnaires sont mis à jour dans la liste également...) (2)
This commit is contained in:
parent
40a4b3e001
commit
8a1c0f0780
2
exv.py
2
exv.py
@ -58,7 +58,7 @@ def extractor(input_files, start, end, recursive, extensions):
|
|||||||
input_files = files
|
input_files = files
|
||||||
|
|
||||||
for input_file in input_files:
|
for input_file in input_files:
|
||||||
exif_dict = usefull_exif
|
exif_dict = usefull_exif.copy()
|
||||||
if not isfile(input_file):
|
if not isfile(input_file):
|
||||||
raise ValueError("{} doesn't exist here.".format(input_file))
|
raise ValueError("{} doesn't exist here.".format(input_file))
|
||||||
exif_dict.update({'file': input_file})
|
exif_dict.update({'file': input_file})
|
||||||
|
Loading…
Reference in New Issue
Block a user