my-fix-branch
Shane 7 months ago
parent c936555741
commit be6514e4e3
  1. 2
      foodie_utils.py

@ -274,7 +274,7 @@ def get_image(search_query):
logging.warning(f"Failed to fetch Flickr photo ID {photo_id}: {e}")
return None
def process_photo(photo):
def process_photo(photo):
tags = [tag.text.lower() for tag in photo.getTags()]
title = photo.title.lower() if photo.title else ""

Loading…
Cancel
Save