Removed --use-photokit authorization check, issue 278
This commit is contained in:
@@ -1587,17 +1587,17 @@ def export(
|
|||||||
)
|
)
|
||||||
raise click.Abort()
|
raise click.Abort()
|
||||||
|
|
||||||
if use_photokit and not check_photokit_authorization():
|
# if use_photokit and not check_photokit_authorization():
|
||||||
click.echo(
|
# click.echo(
|
||||||
"Requesting access to use your Photos library. Click 'OK' on the dialog box to grant access."
|
# "Requesting access to use your Photos library. Click 'OK' on the dialog box to grant access."
|
||||||
)
|
# )
|
||||||
request_photokit_authorization()
|
# request_photokit_authorization()
|
||||||
click.confirm("Have you granted access?")
|
# click.confirm("Have you granted access?")
|
||||||
if not check_photokit_authorization():
|
# if not check_photokit_authorization():
|
||||||
click.echo(
|
# click.echo(
|
||||||
"Failed to get access to the Photos library which is needed with `--use-photokit`."
|
# "Failed to get access to the Photos library which is needed with `--use-photokit`."
|
||||||
)
|
# )
|
||||||
return
|
# return
|
||||||
|
|
||||||
# initialize export flags
|
# initialize export flags
|
||||||
# by default, will export all versions of photos unless skip flag is set
|
# by default, will export all versions of photos unless skip flag is set
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
""" version info """
|
""" version info """
|
||||||
|
|
||||||
__version__ = "0.37.2"
|
__version__ = "0.37.3"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user