From 655a9476c003d2376a247a79c576ac59aee9da78 Mon Sep 17 00:00:00 2001 From: Jakub Tymejczyk Date: Sat, 7 Oct 2023 10:51:45 +0200 Subject: [PATCH] According to README it `download_all` should ignore filtered albums. I missed it in preparing pull requests --- src/sync_photos.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/sync_photos.py b/src/sync_photos.py index fbb864e75..e35b02562 100644 --- a/src/sync_photos.py +++ b/src/sync_photos.py @@ -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),