diff --git a/bots/nhl_game_threads/__init__.py b/bots/nhl_game_threads/__init__.py index 2dae829..757f3ef 100644 --- a/bots/nhl_game_threads/__init__.py +++ b/bots/nhl_game_threads/__init__.py @@ -32,7 +32,7 @@ import praw -__version__ = "2.0.12" +__version__ = "2.0.13" DATA_LOCK = threading.Lock() @@ -220,7 +220,8 @@ def run(self): self.otherDivisionTeams = [ t for t in self.allTeams - if t["isNhl"] and t["divisionAbbrev"] == self.myTeam["divisionAbbrev"] + if t.get("isNhl") + and t.get("divisionAbbrev") == self.myTeam["divisionAbbrev"] ] self.otherDivisionTeamIds = [t["id"] for t in self.otherDivisionTeams] self.otherDivisionTeamAbbrevs = [ diff --git a/redball/version.py b/redball/version.py index 032d700..76689d0 100644 --- a/redball/version.py +++ b/redball/version.py @@ -1,3 +1,3 @@ #!/usr/bin/env python -VERSION = "2024.10.1" +VERSION = "2024.10.2"