removed activate from --download-missing-photos Applescript, closes #69

This commit is contained in:
Rhet Turnbull
2020-03-14 06:58:24 -07:00
parent 2d7d0b86e0
commit 6f413c64d7
2 changed files with 2 additions and 4 deletions

View File

@@ -1,3 +1,3 @@
""" version info """
__version__ = "0.22.14"
__version__ = "0.22.15"

View File

@@ -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