Removed --use-photokit authorization check, issue 278
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
""" version info """
|
||||
|
||||
__version__ = "0.37.2"
|
||||
__version__ = "0.37.3"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user