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

Commit

Permalink
Merge pull request #377 from falkyre/nhl_setup_only
Browse files Browse the repository at this point in the history
  • Loading branch information
riffnshred authored Jun 17, 2022
2 parents af5cc84 + 15b9500 commit 1b8a07b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Binary file modified nhl_setup
Binary file not shown.
7 changes: 7 additions & 0 deletions src/nhl_setup/README.md
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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.
Expand Down
5 changes: 3 additions & 2 deletions src/nhl_setup/nhl_setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 1b8a07b

Please sign in to comment.