From 4a31468ea073c5f23e771a4d5da605461ca4ef4a Mon Sep 17 00:00:00 2001 From: InsertDisc <31751462+InsertDisc@users.noreply.github.com> Date: Wed, 17 Jan 2024 13:15:56 -0500 Subject: [PATCH] Update vars.py --- vars.py | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/vars.py b/vars.py index 6e33ce7..4bf268e 100644 --- a/vars.py +++ b/vars.py @@ -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: @@ -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: