mirror of
https://github.com/alanorth/safari-bingo-cards.git
synced 2025-06-14 20:57:18 +02:00
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:
@ -25,7 +25,7 @@ def create_thumbnail(animal):
|
|||||||
# check if the file has been downloaded
|
# check if the file has been downloaded
|
||||||
if not os.path.isfile(image_path):
|
if not os.path.isfile(image_path):
|
||||||
logger.error(
|
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
|
# check if we already have a thumbnail
|
||||||
elif os.path.isfile(thumbnail_path):
|
elif os.path.isfile(thumbnail_path):
|
||||||
|
Reference in New Issue
Block a user