Skip to content
This repository has been archived by the owner on May 18, 2024. It is now read-only.

Commit

Permalink
commented division abbreviation in nhl_api module to fix crash
Browse files Browse the repository at this point in the history
  • Loading branch information
riffnshred committed Dec 24, 2020
1 parent 49ba21d commit 03c1a54
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0
1.5.1
2 changes: 1 addition & 1 deletion src/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

SCRIPT_NAME = "NHL-LED-SCOREBOARD"

SCRIPT_VERSION = "1.5.0"
SCRIPT_VERSION = "1.5.1"


def run():
Expand Down
4 changes: 2 additions & 2 deletions src/nhl_api/info.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def team_info():
short_name = team['shortName']
division_id = team['division']['id']
division_name = team['division']['name']
division_abbrev = team['division']['abbreviation']
#division_abbrev = team['division']['abbreviation']
conference_id = team['conference']['id']
conference_name = team['conference']['name']
official_site_url = team['officialSiteUrl']
Expand Down Expand Up @@ -55,7 +55,7 @@ def team_info():
'short_name': short_name,
'division_id': division_id,
'division_name': division_name,
'division_abbrev': division_abbrev,
#'division_abbrev': division_abbrev,
'conference_id': conference_id,
'conference_name': conference_name,
'official_site_url': official_site_url,
Expand Down

0 comments on commit 03c1a54

Please sign in to comment.