generate.py: error logging should be red

If we're going to have colors at all, they should be consistent.
This commit is contained in:
Alan Orth 2024-02-28 07:45:56 +03:00
parent b27380e81e
commit 9a0acd3717
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9

View File

@ -25,7 +25,7 @@ def create_thumbnail(animal):
# check if the file has been downloaded
if not os.path.isfile(image_path):
logger.error(
Fore.YELLOW + f"> Missing image for {animal['common_name']}." + Fore.RESET
Fore.RED + f"> Missing image for {animal['common_name']}." + Fore.RESET
)
# check if we already have a thumbnail
elif os.path.isfile(thumbnail_path):