Skip to content

Commit

Permalink
Return success if the picture was already downloaded
Browse files Browse the repository at this point in the history
  • Loading branch information
lcorbasson committed Dec 19, 2024
1 parent 1c55664 commit 8652398
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/icloudpd/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,6 +943,7 @@ def download_photo_(counter: Counter, photo: PhotoAsset) -> bool:
if file_exists:
counter.increment()
logger.debug("%s already exists", truncate_middle(download_path, 96))
success = True

if not file_exists:
counter.reset()
Expand Down

0 comments on commit 8652398

Please sign in to comment.