fix color code error in... errors main
authorEduardo <[email protected]>
Sun, 4 May 2025 12:45:38 +0000 (14:45 +0200)
committerEduardo <[email protected]>
Sun, 4 May 2025 12:45:38 +0000 (14:45 +0200)
formator.py

index 9d3b4493034083d7909b581549696d62eb54b34f..92c436718f555a02019fce979e7758232d15daec 100755 (executable)
@@ -72,20 +72,20 @@ def help_n_info():
 
 def chech_folders():
     if not os.path.exists(arcs_folders):
 
 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):
         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):
         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):
         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)
 
 
         exit(1)