diff --git a/nhl_setup b/nhl_setup index ed3007a4..bc88cbf1 100755 Binary files a/nhl_setup and b/nhl_setup differ diff --git a/src/nhl_setup/README.md b/src/nhl_setup/README.md index ed7bbf1d..8470c5e1 100644 --- a/src/nhl_setup/README.md +++ b/src/nhl_setup/README.md @@ -1,5 +1,6 @@ ![nhl_setup](../../assets/images/nhl_setup.gif) ### History +* V1.6.3 - May 14, 2022 * V1.4.0 - September 25, 2020 * V1.3.0 - Wx version - May 10, 2020 * V1.2.1 - "Maple Leafs" fix - April 1, 2020 @@ -9,6 +10,12 @@ ### Latest Changes +#### V1.6.3 +Fix for goal animations being set to an empty dictionary + +#### V1.4.1 - V1.6.2 +Various fixes and updates to the setup to allow for removal of convid board, the covid divisions addition to the seasoncountdown board. + #### V1.4.0 Added in new sections for screensaver board and additions to the weather, wxalerts and dimmer board. Can now select individual sections to update instead of doing the whole config. The config.json is broken into the following sections: general, preferences, states, boards and sbio. General is the first 3 items in the config. diff --git a/src/nhl_setup/nhl_setup.py b/src/nhl_setup/nhl_setup.py index 66a5ced2..cb8ae06d 100755 --- a/src/nhl_setup/nhl_setup.py +++ b/src/nhl_setup/nhl_setup.py @@ -15,7 +15,7 @@ from time import sleep -SCRIPT_VERSION = "1.6.2" +SCRIPT_VERSION = "1.6.3" TEAMS = ['Avalanche','Blackhawks','Blues','Blue Jackets','Bruins','Canadiens','Canucks','Capitals','Coyotes','Devils','Ducks','Flames','Flyers', 'Golden Knights','Hurricanes','Islanders','Jets','Kings','Kraken','Maple Leafs','Lightning','Oilers','Panthers','Penguins','Predators', @@ -370,13 +370,14 @@ def preferences_settings(default_config,qmark): 'name': 'pref_team_only', 'qmark': qmark, 'message': 'Do you want goal animations for only preferred team?', - 'default': get_default_value(default_config,['goal_animations','pref_team_only'],"bool") + 'default': get_default_value(default_config,['preferences','goal_animations','pref_team_only'],"bool") }, ] goal_animation_answer = prompt(questions,style=custom_style_dope) goal_animations_dict['goal_animations'].update(goal_animation_answer) + preferences['preferences'].update(goal_animations_dict) return preferences