Skip to content

Commit

Permalink
Update scores.py
Browse files Browse the repository at this point in the history
  • Loading branch information
justin-hsieh committed Jan 25, 2024
1 parent 7ac102d commit ac1ac19
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions fantasy_app/scores.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
from dotenv import load_dotenv
from .espn_api_submodule.espn_api.football.league import League


# load environment variables
load_dotenv()
LEAGUE_ID = os.getenv('LEAGU2')
Expand All @@ -31,7 +30,6 @@ def get_year():
def current_week():
return league.current_week


def get_week():
today = datetime.date.today()
weekday_number = today.weekday()
Expand All @@ -44,12 +42,10 @@ def get_week():
def get_team_list():
return league.teams


def get_current_matchups():
matchups = league.box_scores(current_week())
return matchups


def get_highest(position, stat, currentweek=0):
if currentweek > 0:
matchups = league.box_scores(currentweek)
Expand Down

0 comments on commit ac1ac19

Please sign in to comment.