diff --git a/osxphotos/_version.py b/osxphotos/_version.py index 90e4236a..707c9215 100644 --- a/osxphotos/_version.py +++ b/osxphotos/_version.py @@ -1,3 +1,3 @@ """ version info """ -__version__ = "0.40.12" +__version__ = "0.40.13" diff --git a/osxphotos/cli.py b/osxphotos/cli.py index e2133e9a..44840bc8 100644 --- a/osxphotos/cli.py +++ b/osxphotos/cli.py @@ -2386,9 +2386,9 @@ def export_photo( # change the file extension to correct jpeg extension if needed file_ext = ( "." + jpeg_ext - if jpeg_ext and (photo.uti == "public.jpeg" or convert_to_jpeg) + if jpeg_ext and (photo.uti_original == "public.jpeg" or convert_to_jpeg) else ".jpeg" - if convert_to_jpeg and photo.uti != "public.jpeg" + if convert_to_jpeg and photo.uti_original != "public.jpeg" else original_filename.suffix ) original_filename = (