Added ability to pull weather information from db for game history
This commit is contained in:
parent
957c11c60d
commit
ff867b541c
3
games.py
3
games.py
|
@ -850,7 +850,8 @@ def get_history():
|
||||||
game_dict = {"Team1" : game[1],
|
game_dict = {"Team1" : game[1],
|
||||||
"Team1Score" : game[2],
|
"Team1Score" : game[2],
|
||||||
"Team2" : game[3],
|
"Team2" : game[3],
|
||||||
"Team2Score" : game[4]}
|
"Team2Score" : game[4],
|
||||||
|
"Weather" : game[5]}
|
||||||
games.append(game_dict)
|
games.append(game_dict)
|
||||||
return games
|
return games
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user