Skip to content

Commit 28e2a52

Browse files
authored
[BUG] : fixed print format execution
1 parent c8a1b2a commit 28e2a52

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

install.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
3939
RESET = ansi["White"]
4040
INFO = ansi["Bold Green"]
4141
WARNING = ansi["Yellow"]
42-
ERROR = ansi["Red"]
42+
ERROR = ERROR
4343
#----------------------------------------------------------------------------------------------------------------------
4444
HOME = path.expanduser("~")
4545
LINUX_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
#--------------------------------------------------------------------------------------------------------------------
243243
except 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

0 commit comments

Comments
 (0)