Skip to content

Commit

Permalink
fix(images): print with rich console to display emoji
Browse files Browse the repository at this point in the history
  • Loading branch information
Guts committed Jul 2, 2024
1 parent feadb3a commit 66d98f3
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion geotribu_cli/images/images_optimizer.py
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,9 @@ def run(args: argparse.Namespace):
if image.suffix.lower() in defaults_settings.images_body_extensions
]
if not li_images:
print(":person_shrugging: Aucune image trouvée dans {args.image_path}")
console.print(
f":person_shrugging: Aucune image trouvée dans {args.image_path}"
)
sys.exit(0)
else:
logger.debug(f"Image unique passée : {args.image_path}")
Expand Down

0 comments on commit 66d98f3

Please sign in to comment.