From ca4afca5dadb696292e5ca26ae16665ac6245153 Mon Sep 17 00:00:00 2001 From: Wlad Date: Mon, 10 Apr 2023 21:48:00 +0200 Subject: [PATCH] add log when json was fixed. --- scripts/main.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/main.py b/scripts/main.py index bfc46fd55e..df07cb2640 100644 --- a/scripts/main.py +++ b/scripts/main.py @@ -71,8 +71,9 @@ def attempt_to_fix_json_by_finding_outermost_brackets(json_string): if json_match: # Extract the valid JSON object from the string json_string = json_match.group(0) + print_to_console("Apparently json was fixed.", Fore.GREEN,"") if cfg.speak_mode: - speak.say_text("Apparently I managed to fix it.") + speak.say_text("Apparently json was fixed.") else: raise ValueError("No valid JSON object found")