From 38d9e86090435e6fa802dbd8e3f1e1762dc8d6bd Mon Sep 17 00:00:00 2001 From: Eduardo Date: Sun, 4 May 2025 14:45:38 +0200 Subject: [PATCH] fix color code error in... errors --- formator.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/formator.py b/formator.py index 9d3b449..92c4367 100755 --- a/formator.py +++ b/formator.py @@ -72,20 +72,20 @@ def help_n_info(): def chech_folders(): if not os.path.exists(arcs_folders): - print(f"{bcolors.FAIL}Error: The directory does not exist: {arcs_folders}{bcolors.ENDC}") + print(f"{bcolors.RED}Error: The directory does not exist: {arcs_folders}{bcolors.ENDC}") exit(1) if not os.path.exists(html_files_path): - print(f"{bcolors.FAIL}Error: The directory does not exist: {html_files_path}{bcolors.ENDC}") + print(f"{bcolors.RED}Error: The directory does not exist: {html_files_path}{bcolors.ENDC}") exit(1) if not os.path.exists(default_image_path): - print(f"{bcolors.FAIL}Error: The default image does not exist: {default_image_path}{bcolors.ENDC}") + print(f"{bcolors.RED}Error: The default image does not exist: {default_image_path}{bcolors.ENDC}") exit(1) html_file_path = html_files_path + "Arc Overview.html" if not os.path.exists(html_file_path): - print(f"{bcolors.FAIL}Error: The HTML file does not exist: {html_file_path}{bcolors.ENDC}") + print(f"{bcolors.RED}Error: The HTML file does not exist: {html_file_path}{bcolors.ENDC}") exit(1) -- 2.30.2