Skip to content

Commit

Permalink
print list name when no anime found
Browse files Browse the repository at this point in the history
  • Loading branch information
prochy-exe committed May 11, 2024
1 parent dd59334 commit 7888e5d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions malfetcher/mal_fetcher.py
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ def get_latest_anime_entry_for_user(status = "ALL", myanimelist_token=None, use
pass
return user_entry

print(f"No entries found for {username}'s planned anime list.")
print(f"No entries found for {username}'s {status.lower()} anime list.")
return None

def get_all_anime_for_user(status_list="ALL", myanimelist_token=None, username = None):
Expand Down Expand Up @@ -252,7 +252,7 @@ def main_function(status):
except:
pass
return user_ids
print(f"No entries found for {username}'s planned anime list.")
print(f"No entries found for {username}'s {status.lower()} anime list.")
return None

if isinstance(status_list, str):
Expand Down

0 comments on commit 7888e5d

Please sign in to comment.