From b8bf9cc4fd162491224262f4f54861365261d568 Mon Sep 17 00:00:00 2001 From: David-Tillmann Schaefer Date: Sat, 9 Nov 2019 00:16:55 +0100 Subject: [PATCH] changes comma in aperture to dot to match the other exif entries (cherry picked from commit 054bc9068b3c4e83be97e42d1a8c9829c2c83e1b) --- src/nikonmn_int.cpp | 2 +- tests/bugfixes/github/test_issue_743.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/nikonmn_int.cpp b/src/nikonmn_int.cpp index 0d212fb8..71ff272e 100644 --- a/src/nikonmn_int.cpp +++ b/src/nikonmn_int.cpp @@ -2532,7 +2532,7 @@ fmountlens[] = { {0x00,0x58,0x64,0x64,0x20,0x20,0x00,0x00,0x00,0x00,0x00, "Soligor", "", "C/D Macro MC 90mm f/2.5"}, // // https://github.com/Exiv2/exiv2/issues/743 -{0xc9,0x48,0x37,0x5c,0x24,0x24,0x4b,0x4e,0x01,0x00,0x00, "Sigma", "", "24-70mm F2,8 DG OS HSM Art"}, +{0xc9,0x48,0x37,0x5c,0x24,0x24,0x4b,0x4e,0x01,0x00,0x00, "Sigma", "", "24-70mm F2.8 DG OS HSM Art"}, // // https://github.com/Exiv2/exiv2/issues/598 , https://github.com/Exiv2/exiv2/pull/891 {0xCF,0x47,0x5C,0x8E,0x31,0x3D,0xDF,0x0E,0x00,0x00,0x00, "Tamron", "A030", "SP 70-300mm F/4-5.6 Di VC USD"}, diff --git a/tests/bugfixes/github/test_issue_743.py b/tests/bugfixes/github/test_issue_743.py index bc45fabb..798ce0f0 100644 --- a/tests/bugfixes/github/test_issue_743.py +++ b/tests/bugfixes/github/test_issue_743.py @@ -13,7 +13,7 @@ class Issue743NikonSigmaArtLens(metaclass=CaseMeta): commands = ["$exiv2 -pa --grep lensid/i $filename"] stderr = [""] stdout = ["" - """Exif.NikonLd3.LensIDNumber Byte 1 Sigma 24-70mm F2,8 DG OS HSM Art + """Exif.NikonLd3.LensIDNumber Byte 1 Sigma 24-70mm F2.8 DG OS HSM Art """ ] retval = [0]