Skip to content

Commit 86852a0

Browse files
v2.0.3
Former-commit-id: 2b51a5f
1 parent 605631a commit 86852a0

File tree

1 file changed

+11
-7
lines changed

1 file changed

+11
-7
lines changed

gparch.py

Lines changed: 11 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
4141
"""
4242

43-
VERSION = "2.0.2"
43+
VERSION = "2.0.3"
4444

4545
# Define Scopes for Application
4646
SCOPES = [
@@ -375,12 +375,16 @@ def download_single_album(self, album, shared=False):
375375
self.insert_album(album["id"], album_path, album["title"], shared)
376376

377377
processed_items = self.process_media_items(album_items, album_path, album["id"])
378-
379-
self.download(
380-
processed_items,
381-
f"Downloading {'Shared ' if shared else ''}Album: \"{album['title']}\"",
382-
self.thread_count,
383-
)
378+
379+
if processed_items:
380+
self.download(
381+
processed_items,
382+
f"Downloading {'Shared ' if shared else ''}Album: \"{album['title']}\"",
383+
self.thread_count,
384+
)
385+
else:
386+
print(f"Downloading {'Shared ' if shared else ''}Album: \"{album['title']}\"")
387+
print("Everything already downloaded.")
384388

385389
def list_media_items(self):
386390
num = 0

0 commit comments

Comments
 (0)