From: Eduardo Date: Sun, 4 May 2025 12:45:38 +0000 (+0200) Subject: fix color code error in... errors X-Git-Url: http://git.edufdez.es/?a=commitdiff_plain;h=HEAD;p=One%20Pace%20Episode%20Guide.git fix color code error in... errors --- 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)