From 8ec0a2ffd7d27240b5576be1c2949fd348af8644 Mon Sep 17 00:00:00 2001 From: Piero Toffanin Date: Thu, 2 Apr 2020 01:02:19 +0000 Subject: [PATCH] Better band name support Former-commit-id: 78114a18e296a47353ed4fed82fc540d4053f27b --- opendm/photo.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opendm/photo.py b/opendm/photo.py index cf9694be..4f97c2fb 100644 --- a/opendm/photo.py +++ b/opendm/photo.py @@ -143,7 +143,7 @@ class ODM_Photo: for tags in xmp: try: - band_name = self.get_xmp_tag(tags, 'Camera:BandName') + band_name = self.get_xmp_tag(tags, ['Camera:BandName', '@Camera:BandName']) if band_name is not None: self.band_name = band_name.replace(" ", "")