Removed --use-photokit authorization check, issue 278

This commit is contained in:
Rhet Turnbull
2020-11-29 18:26:55 -08:00
parent 1bc0926948
commit ed3a9711dc
2 changed files with 12 additions and 12 deletions

View File

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

View File

@@ -1,4 +1,4 @@
""" version info """
__version__ = "0.37.2"
__version__ = "0.37.3"