fix
This commit is contained in:
+1
-1
@@ -274,7 +274,7 @@ def get_image(search_query):
|
|||||||
logging.warning(f"Failed to fetch Flickr photo ID {photo_id}: {e}")
|
logging.warning(f"Failed to fetch Flickr photo ID {photo_id}: {e}")
|
||||||
return None
|
return None
|
||||||
|
|
||||||
def process_photo(photo):
|
def process_photo(photo):
|
||||||
tags = [tag.text.lower() for tag in photo.getTags()]
|
tags = [tag.text.lower() for tag in photo.getTags()]
|
||||||
title = photo.title.lower() if photo.title else ""
|
title = photo.title.lower() if photo.title else ""
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user