exv.py : mise à jour de la liste avec .copy() (sinon les dictionnaires sont mis à jour dans la liste également...)
This commit is contained in:
parent
6ed94deb38
commit
40a4b3e001
2
exv.py
2
exv.py
@ -98,7 +98,7 @@ def extractor(input_files, start, end, recursive, extensions):
|
|||||||
exif_tags['0th'][0x0132].decode(), "%Y:%m:%d %H:%M:%S")
|
exif_tags['0th'][0x0132].decode(), "%Y:%m:%d %H:%M:%S")
|
||||||
if exif_dict['Pixels']:
|
if exif_dict['Pixels']:
|
||||||
exif_dict.update({'Dimension': round((exif_dict['Pixels']/10**6), 1)})
|
exif_dict.update({'Dimension': round((exif_dict['Pixels']/10**6), 1)})
|
||||||
exif_dict_list.append(exif_dict)
|
exif_dict_list.append(exif_dict.copy())
|
||||||
cameras, lenses, focals, apertures, exposures = {}, {}, {}, {}, {}
|
cameras, lenses, focals, apertures, exposures = {}, {}, {}, {}, {}
|
||||||
isos, dimensions, cameras_lenses, dates = {}, {}, {}, {}
|
isos, dimensions, cameras_lenses, dates = {}, {}, {}, {}
|
||||||
cameras_list, lenses_list, focals_list, apertures_list, exposures_list = [], [], [], [], []
|
cameras_list, lenses_list, focals_list, apertures_list, exposures_list = [], [], [], [], []
|
||||||
|
Loading…
Reference in New Issue
Block a user