Skip to content

Commit

Permalink
Merge pull request #4 from yachachli/fix/ignore-players
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanderHott authored Dec 30, 2024
2 parents 1a55439 + ec0343d commit f79e00e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions daily_colab_task/daily_task.py
Original file line number Diff line number Diff line change
Expand Up @@ -490,6 +490,12 @@ def main():
logging.info(f"[3] updating {len(players_data)} players")
for player_data in players_data:
api_full_name = player_data["longName"].strip()
# TODO: make ignore list better
if (
api_full_name == "Jaylin Williams"
and player_data["team"] == "DEN"
):
continue
if api_full_name.lower() in [name.lower() for name in full_names]:
update_player_info(player_data)
update_player_season_stats(player_data)
Expand Down

0 comments on commit f79e00e

Please sign in to comment.