From 3cde0b79c9b71f7f593f8a44f86f0e5d782b2086 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Thu, 10 Feb 2022 22:11:21 -0800 Subject: [PATCH] Fix for #627 --- osxphotos/cli.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/osxphotos/cli.py b/osxphotos/cli.py index 982925e6..6b709f52 100644 --- a/osxphotos/cli.py +++ b/osxphotos/cli.py @@ -3262,7 +3262,7 @@ def export_photo_to_directory( results = ExportResults() # TODO: can be updated to let export do all the missing logic if export_original: - if missing and not preview_if_missing: + if missing and not any([preview_if_missing, download_missing, use_photos_export]): space = " " if not verbose else "" verbose_( f"{space}Skipping missing photo {photo.original_filename} ({photo.uuid})" @@ -3286,7 +3286,7 @@ def export_photo_to_directory( return results else: # exporting the edited version - if missing and not preview_if_missing: + if missing and not any([preview_if_missing, download_missing, use_photos_export]): space = " " if not verbose else "" verbose_(f"{space}Skipping missing edited photo for {filename}") results.missing.append(str(pathlib.Path(dest_path) / filename))