Jon Solow commited on
Commit
07c9a43
·
1 Parent(s): 42841bf

Default a get to empty str to please mypy

Browse files
Files changed (1) hide show
  1. src/stats.py +1 -1
src/stats.py CHANGED
@@ -273,7 +273,7 @@ def add_yahoo_stat_type_to_stat_map(
273
  player_id = short_team_names_to_player_id[player["player"]["team"]["abbreviation"]]
274
  else:
275
  raw_player_id = player["player"]["playerId"].split(".")[-1]
276
- player_id = YAHOO_PLAYER_ID_MAP.get(raw_player_id)
277
 
278
  if not player_id:
279
  continue
 
273
  player_id = short_team_names_to_player_id[player["player"]["team"]["abbreviation"]]
274
  else:
275
  raw_player_id = player["player"]["playerId"].split(".")[-1]
276
+ player_id = YAHOO_PLAYER_ID_MAP.get(raw_player_id, "")
277
 
278
  if not player_id:
279
  continue