ForzaJuve1 commited on
Commit
ef08f10
1 Parent(s): 7d0f78b

Update Integration.py

Browse files
Files changed (1) hide show
  1. Integration.py +3 -3
Integration.py CHANGED
@@ -614,11 +614,11 @@ class Euro2020Dataset(GeneratorBasedBuilder):
614
  try:
615
  team_lineups = ast.literal_eval(team_lineups_str)
616
  except ValueError:
617
- team_lineups = default_team_lineups_structure
618
 
619
  team_lineups_processed = {
620
- "HomeTeamLineUp": team_lineups.get("HomeTeamLineUp"),
621
- "AwayTeamLineUp": team_lineups.get("AwayTeamLineUp"),
622
  }
623
 
624
  yield id, {
 
614
  try:
615
  team_lineups = ast.literal_eval(team_lineups_str)
616
  except ValueError:
617
+ team_lineups = {}
618
 
619
  team_lineups_processed = {
620
+ "HomeTeamLineUp": team_lineups.get("HomeTeamLineUp",default_team_lineups_structure),
621
+ "AwayTeamLineUp": team_lineups.get("AwayTeamLineUp",default_team_lineups_structure),
622
  }
623
 
624
  yield id, {