Skip to content

Commit

Permalink
Merge pull request #136 from dtcarls/develop
Browse files Browse the repository at this point in the history
2024 updates
  • Loading branch information
dtcarls authored Jul 3, 2024
2 parents e1cfa19 + 938f160 commit 730c016
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions app.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
},
"LEAGUE_YEAR": {
"description": "ESPN League Year",
"value": "2023",
"value": "2024",
"required": false
},
"TIMEZONE": {
Expand All @@ -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": {
Expand Down
6 changes: 3 additions & 3 deletions gamedaybot/espn/env_vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -76,7 +76,7 @@ def get_env_vars():
try:
year = int(os.environ["LEAGUE_YEAR"])
except KeyError:
year = 2023
year = 2024

data['year'] = year

Expand Down
2 changes: 1 addition & 1 deletion gamedaybot/espn/espn_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ def espn_bot(function):
try:
year = int(data['year'])
except KeyError:
year = 2023
year = 2024

try:
swid = data['swid']
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',

Expand Down

0 comments on commit 730c016

Please sign in to comment.