diff --git a/.gitignore b/.gitignore index 09d6e93..5a9ad5a 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /__pycache__ /app/__pycache__ /app/scoreboard/__pycache__ +nhl_standings.db diff --git a/app/scoreboard/process_data.py b/app/scoreboard/process_data.py index 74f9eeb..0d3dd0a 100644 --- a/app/scoreboard/process_data.py +++ b/app/scoreboard/process_data.py @@ -122,7 +122,7 @@ def calculate_game_priority(game): return final_priority def get_team_standings(team_name): - conn = sqlite3.connect("nhl_standings.db") + conn = sqlite3.connect("app/data/nhl_standings.db") cursor = conn.cursor() cursor.execute(""" SELECT league_sequence, league_l10_sequence