Skip to content

Commit

Permalink
again
Browse files Browse the repository at this point in the history
  • Loading branch information
Woahai321 committed Jan 2, 2025
1 parent 2c08823 commit 921c00e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions add.py
Original file line number Diff line number Diff line change
Expand Up @@ -462,9 +462,9 @@ def fetch_imdb_list(list_id):
if total_items and len(media_items) < total_items:
logging.warning(f"Only found {len(media_items)} items out of {total_items} total")

print(color_gradient(f"✨ Found {len(media_items)} items from IMDB list {list_id}!", "#00ff00", "#00aa00"))
logging.info(f"IMDB list {list_id} fetched successfully. Found {len(media_items)} items.")
return media_items
print(color_gradient(f"✨ Found {len(media_items)} items from IMDB list {list_id}!", "#00ff00", "#00aa00"))
logging.info(f"IMDB list {list_id} fetched successfully. Found {len(media_items)} items.")
return media_items

except Exception as e:
print(color_gradient(f"💥 Failed to fetch IMDB list {list_id}. Error: {str(e)}", "#ff0000", "#aa0000"))
Expand Down

0 comments on commit 921c00e

Please sign in to comment.