remove prints

This commit is contained in:
cwilvx
2024-08-31 14:00:51 +03:00
parent 81f28b9ea8
commit c4699f4c82
-2
View File
@@ -151,13 +151,11 @@ class CheckArtistImages:
# read all files in the artist image folder
path = settings.Paths.get_sm_artist_img_path()
processed = [path.replace(".webp", "") for path in os.listdir(path)]
print(f"Found {len(processed)} processed artist images")
unprocessed = [
a for a in ArtistStore.get_flat_list() if a.artisthash not in processed
]
print(f"Downloading {len(unprocessed)} artist images")
key_artist_map = ((instance_key, artist) for artist in unprocessed)
with ThreadPoolExecutor(max_workers=14) as executor: