File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 3939RESET = ansi ["White" ]
4040INFO = ansi ["Bold Green" ]
4141WARNING = ansi ["Yellow" ]
42- ERROR = ansi [ "Red" ]
42+ ERROR = ERROR
4343#----------------------------------------------------------------------------------------------------------------------
4444HOME = path .expanduser ("~" )
4545LINUX_USER = HOME [6 :]
@@ -229,18 +229,18 @@ def make_child_dir(dir):
229229 print ("visit www.github.com/mintRaven-05 for more projects" )
230230 #----------------------------------------------------------------------------------------------------------------
231231 else :
232- print (f"{ ansi [ "Red" ] } Geminux is only compatible with Linux and Windows, you can install manually in that case !{ RESET } " )
232+ print (f"{ ERROR } Geminux is only compatible with Linux and Windows, you can install manually in that case !{ RESET } " )
233233 #--------------------------------------------------------------------------------------------------------------------
234234 elif ch .upper () == "N" or ch .upper () == "NO" :
235235 print ("Understandable . . ." )
236236 sys .exit (0 )
237237 #--------------------------------------------------------------------------------------------------------------------
238238 else :
239- print (f"{ ansi [ "Red" ] } Invalid Choice" )
239+ print (f"{ ERROR } Invalid Choice" )
240240 print (f"exiting . . .{ RESET } " )
241241 sys .exit (0 )
242242 #--------------------------------------------------------------------------------------------------------------------
243243except Exception as e :
244- print (f"{ ansi [ "Red" ] } [ERROR]Could not complete installation : " , e , f"{ RESET } " )
244+ print (f"{ ERROR } [ERROR]Could not complete installation : " , e , f"{ RESET } " )
245245#------------------------------------------------------------------------------------------------------------------------
246246#END
You can’t perform that action at this time.
0 commit comments