mirror of
https://github.com/alanorth/safari-bingo-cards.git
synced 2024-11-21 22:35:03 +01: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:
parent
b27380e81e
commit
9a0acd3717
@ -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):
|
||||||
|
Loading…
Reference in New Issue
Block a user