From 40a4b3e0019abed89dcf27a8d9ba51840908dce1 Mon Sep 17 00:00:00 2001 From: Antoine VAN ELSTRAETE Date: Thu, 23 May 2019 23:18:55 +0200 Subject: [PATCH] =?UTF-8?q?exv.py=20:=20mise=20=C3=A0=20jour=20de=20la=20l?= =?UTF-8?q?iste=20avec=20.copy()=20(sinon=20les=20dictionnaires=20sont=20m?= =?UTF-8?q?is=20=C3=A0=20jour=20dans=20la=20liste=20=C3=A9galement...)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- exv.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/exv.py b/exv.py index e9165f5..d856d06 100755 --- a/exv.py +++ b/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") if exif_dict['Pixels']: 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 = {}, {}, {}, {}, {} isos, dimensions, cameras_lenses, dates = {}, {}, {}, {} cameras_list, lenses_list, focals_list, apertures_list, exposures_list = [], [], [], [], []