Skip to content

Commit

Permalink
Update vars.py
Browse files Browse the repository at this point in the history
  • Loading branch information
InsertDisc authored Jan 17, 2024
1 parent b95a63c commit 4a31468
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions vars.py
Original file line number Diff line number Diff line change
Expand Up @@ -875,7 +875,10 @@ def setting(value):
if value == 'ovNewFontColor':
entry = pref['extra_overlays']['new']['font_color']
if value == 'ovNewText':
entry = pref['extra_overlays']['new']['text']
try:
entry = pref['extra_overlays']['new']['text']
except KeyError:
entry = 'N E W S E R I E S'

if value == 'ovNew_horizontal_align':
try:
Expand Down Expand Up @@ -993,7 +996,10 @@ def setting(value):
entry = pref['extra_overlays']['airing_next']['font_color']

if value == 'ovAiringNextText':
entry = pref['extra_overlays']['airing_next']['text']
try:
entry = pref['extra_overlays']['airing_next']['text']
except KeyError:
entry = 'A I R I N G'

if value == 'ovAiringNext_horizontal_align':
try:
Expand Down

0 comments on commit 4a31468

Please sign in to comment.