Skip to content

Commit

Permalink
fix(nflgt): error due to some data not being populated early Sunday m…
Browse files Browse the repository at this point in the history
…orning

ver(nflgt): 2.4.1
ver(platform): 2024.10.4
  • Loading branch information
toddrob99 committed Oct 13, 2024
1 parent acadfba commit 0f70c52
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bots/nfl_game_threads/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@

import praw

__version__ = "2.4"
__version__ = "2.4.1"

DATA_LOCK = threading.Lock()

Expand Down
2 changes: 2 additions & 0 deletions bots/nfl_game_threads/templates/division_scoreboard.mako
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ ${'##'} Division Scoreboard
toTz = pytz.timezone(settings.get("Bot", {}).get("TEAM_TIMEZONE", "America/New_York"))
formattedGameTime = dt.astimezone(toTz).strftime("%I:%M %p")
gd = data["otherTodayGamesDetails"].get(game["id"], {})
if not gd.get("visitorTeam") or not gd.get("homeTeam"):
continue
%>\
|${qtrDesc[gd["period"]] if gd.get("period") else ""} ${gd["gameClock"] if gd.get("phase") == "INGAME" else gameStatusDesc[gd["phase"]] if gd.get("phase") != "PREGAME" else formattedGameTime}||
|:--|:--|
Expand Down
2 changes: 1 addition & 1 deletion redball/version.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env python

VERSION = "2024.10.3"
VERSION = "2024.10.4"

0 comments on commit 0f70c52

Please sign in to comment.