Skip to content

Commit

Permalink
Get information for games in progress
Browse files Browse the repository at this point in the history
  • Loading branch information
panzarino committed Mar 25, 2016
1 parent ef47383 commit 29b5c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mlbgame/game.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def scoreboard(year, month, day, home=None, away=None):
# loop through games
for game in root:
# check type of game
if game.tag == "go_game":
if game.tag == "go_game" or game.tag == "ig_game":
# get team names
teams = game.findall('team')
home_name = teams[0].attrib['name']
Expand Down

0 comments on commit 29b5c03

Please sign in to comment.