From 8dc59cbc35c33e71d0d912f4139e855180ac4fbd Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Thu, 12 Nov 2020 06:51:36 -0800 Subject: [PATCH] Fixed erroneous attempt to export edited with --download-missing --- osxphotos/__main__.py | 4 ++++ osxphotos/_version.py | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/osxphotos/__main__.py b/osxphotos/__main__.py index 30bf30ba..d70ea5ac 100644 --- a/osxphotos/__main__.py +++ b/osxphotos/__main__.py @@ -2362,6 +2362,10 @@ def export_photo( results_touched = [] export_original = not (skip_original_if_edited and photo.hasadjustments) + + # can't export edited if photo doesn't have edited versions + export_edited = export_edited if photo.hasadjustments else False + # slow_mo photos will always have hasadjustments=True even if not edited if photo.hasadjustments and photo.path_edited is None: if photo.slow_mo: diff --git a/osxphotos/_version.py b/osxphotos/_version.py index 541957db..e4ba2cc3 100644 --- a/osxphotos/_version.py +++ b/osxphotos/_version.py @@ -1,4 +1,4 @@ """ version info """ -__version__ = "0.36.16" +__version__ = "0.36.17"