From ed3a9711dc0805aed1aacc30e01eeb9c1077d9e1 Mon Sep 17 00:00:00 2001 From: Rhet Turnbull Date: Sun, 29 Nov 2020 18:26:55 -0800 Subject: [PATCH] Removed --use-photokit authorization check, issue 278 --- osxphotos/__main__.py | 22 +++++++++++----------- osxphotos/_version.py | 2 +- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/osxphotos/__main__.py b/osxphotos/__main__.py index 1d25c7a5..7ea4cd6b 100644 --- a/osxphotos/__main__.py +++ b/osxphotos/__main__.py @@ -1587,17 +1587,17 @@ def export( ) raise click.Abort() - if use_photokit and not check_photokit_authorization(): - click.echo( - "Requesting access to use your Photos library. Click 'OK' on the dialog box to grant access." - ) - request_photokit_authorization() - click.confirm("Have you granted access?") - if not check_photokit_authorization(): - click.echo( - "Failed to get access to the Photos library which is needed with `--use-photokit`." - ) - return + # if use_photokit and not check_photokit_authorization(): + # click.echo( + # "Requesting access to use your Photos library. Click 'OK' on the dialog box to grant access." + # ) + # request_photokit_authorization() + # click.confirm("Have you granted access?") + # if not check_photokit_authorization(): + # click.echo( + # "Failed to get access to the Photos library which is needed with `--use-photokit`." + # ) + # return # initialize export flags # by default, will export all versions of photos unless skip flag is set diff --git a/osxphotos/_version.py b/osxphotos/_version.py index c4891056..3df951e8 100644 --- a/osxphotos/_version.py +++ b/osxphotos/_version.py @@ -1,4 +1,4 @@ """ version info """ -__version__ = "0.37.2" +__version__ = "0.37.3"