Skip to content

Commit

Permalink
According to README it download_all should ignore filtered albums.
Browse files Browse the repository at this point in the history
I missed it in preparing pull requests
  • Loading branch information
tymmej committed Oct 7, 2023
1 parent dc02947 commit 655a947
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/sync_photos.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,8 @@ def sync_photos(config, photos):
download_all = config_parser.get_photos_all_albums(config=config)
if download_all:
for album in photos.albums.keys():
if album in filters["albums"]:
continue
sync_album(
album=photos.albums[album],
destination_path=os.path.join(destination_path, album),
Expand Down

0 comments on commit 655a947

Please sign in to comment.