From 6f413c64d778e9310f6319a18da0080416c03ef1 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Sat, 14 Mar 2020 06:58:24 -0700 Subject: [PATCH] removed activate from --download-missing-photos Applescript, closes #69 --- osxphotos/_version.py | 2 +- osxphotos/utils.py | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/osxphotos/_version.py b/osxphotos/_version.py index d22ef3d5..d2487e63 100644 --- a/osxphotos/_version.py +++ b/osxphotos/_version.py @@ -1,3 +1,3 @@ """ version info """ -__version__ = "0.22.14" +__version__ = "0.22.15" diff --git a/osxphotos/utils.py b/osxphotos/utils.py index 521ab5be..e1742e8c 100644 --- a/osxphotos/utils.py +++ b/osxphotos/utils.py @@ -299,8 +299,7 @@ def create_path_by_date(dest, dt): # f""" # on openLibrary # tell application "Photos" -# activate -# open POSIX file "{library_path}" +# open POSIX file "{library_path}" # end tell # end openLibrary # """ @@ -342,7 +341,6 @@ def _export_photo_uuid_applescript( """ on export_by_uuid(theUUID, thePath, original, edited, theTimeOut) tell application "Photos" - activate set thePath to thePath set theItem to media item id theUUID set theFilename to filename of theItem