diff --git a/app.json b/app.json index 0443bf12..413c66ea 100644 --- a/app.json +++ b/app.json @@ -35,7 +35,7 @@ }, "LEAGUE_YEAR": { "description": "ESPN League Year", - "value": "2023", + "value": "2024", "required": false }, "TIMEZONE": { @@ -45,12 +45,12 @@ }, "START_DATE": { "description": "Season Start Date", - "value": "2023-09-07", + "value": "2024-09-05", "required": false }, "END_DATE": { "description": "Season End Date", - "value": "2024-01-09", + "value": "2025-01-05", "required": false }, "INIT_MSG": { diff --git a/gamedaybot/espn/env_vars.py b/gamedaybot/espn/env_vars.py index 6bb7dae9..fd33461f 100644 --- a/gamedaybot/espn/env_vars.py +++ b/gamedaybot/espn/env_vars.py @@ -8,14 +8,14 @@ def get_env_vars(): try: ff_start_date = os.environ["START_DATE"] except KeyError: - ff_start_date = '2023-09-07' + ff_start_date = '2024-09-05' data['ff_start_date'] = ff_start_date try: ff_end_date = os.environ["END_DATE"] except KeyError: - ff_end_date = '2024-01-09' + ff_end_date = '2025-01-05' data['ff_end_date'] = ff_end_date @@ -76,7 +76,7 @@ def get_env_vars(): try: year = int(os.environ["LEAGUE_YEAR"]) except KeyError: - year = 2023 + year = 2024 data['year'] = year diff --git a/gamedaybot/espn/espn_bot.py b/gamedaybot/espn/espn_bot.py index 1afe3597..5bd1b184 100644 --- a/gamedaybot/espn/espn_bot.py +++ b/gamedaybot/espn/espn_bot.py @@ -112,7 +112,7 @@ def espn_bot(function): try: year = int(data['year']) except KeyError: - year = 2023 + year = 2024 try: swid = data['swid'] diff --git a/requirements.txt b/requirements.txt index bbb5d74e..659ad7df 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,5 +1,5 @@ flake8==3.3.0 apscheduler>=3.3.0,<4.0.0 requests>=2.0.0,<3.0.0 -espn_api==0.33.0 +espn_api>=0.36.0 datetime diff --git a/setup.py b/setup.py index 90b91395..f9fe236f 100644 --- a/setup.py +++ b/setup.py @@ -15,7 +15,7 @@ author_email='deantcarlson@gmail.com', - install_requires=['espn_api>=0.31.0', 'requests>=2.0.0,<3.0.0', 'apscheduler>=3.3.0,<4.0.0', 'datetime'], + install_requires=['espn_api>=0.36.0', 'requests>=2.0.0,<3.0.0', 'apscheduler>=3.3.0,<4.0.0', 'datetime'], url='https://github.com/dtcarls/fantasy_football_chat_bot',