From d3c7528bf3cb4775f4cebf2f7af1765f5785053e Mon Sep 17 00:00:00 2001 From: Pau Gargallo Date: Sat, 5 Dec 2015 22:33:38 +0100 Subject: [PATCH] Fix camera models overrides loading Thanks @lukebaumann! --- bin/focal_from_exif | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/focal_from_exif b/bin/focal_from_exif index e453d602e..2b1098630 100755 --- a/bin/focal_from_exif +++ b/bin/focal_from_exif @@ -52,7 +52,7 @@ for image in data.images(): # Override any camera that is specified in the camera models overrides file. if data.camera_models_overrides_exists(): camera_models_overrides = data.load_camera_models_overrides() - for key, value in camera_models_overrides: + for key, value in camera_models_overrides.items(): camera_models[key] = value data.save_camera_models(camera_models)