hotfix: process_data.py fix incorrect database ref (#25)

This commit is contained in:
2024-02-19 13:13:51 -05:00
committed by GitHub
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -5,3 +5,4 @@
/__pycache__ /__pycache__
/app/__pycache__ /app/__pycache__
/app/scoreboard/__pycache__ /app/scoreboard/__pycache__
nhl_standings.db

View File

@@ -122,7 +122,7 @@ def calculate_game_priority(game):
return final_priority return final_priority
def get_team_standings(team_name): def get_team_standings(team_name):
conn = sqlite3.connect("nhl_standings.db") conn = sqlite3.connect("app/data/nhl_standings.db")
cursor = conn.cursor() cursor = conn.cursor()
cursor.execute(""" cursor.execute("""
SELECT league_sequence, league_l10_sequence SELECT league_sequence, league_l10_sequence