BraydenMoore commited on
Commit
a00ecaf
·
1 Parent(s): 7f9df07

Fix game_id formatting in predictions_this_year

Browse files
Files changed (1) hide show
  1. Source/Predict/predict.py +1 -1
Source/Predict/predict.py CHANGED
@@ -113,5 +113,5 @@ def predict(home,away,season,week,total):
113
  'Probability': ['N/A']}
114
 
115
  # create game id to save predictions
116
- game_id = str(season) + '_' + str(week) + '_' + away + '_' + home
117
  return game_id, moneyline, over_under
 
113
  'Probability': ['N/A']}
114
 
115
  # create game id to save predictions
116
+ game_id = str(season) + '_' + str(week) + '_' + away_abbrev + '_' + home_abbrev
117
  return game_id, moneyline, over_under