Update colors.py

This commit is contained in:
Richard Mwewa
2022-06-05 10:55:07 +02:00
committed by GitHub
parent 151e8ba3dd
commit d350a37cb6

View File

@@ -1,5 +1,4 @@
import sys
import getpass
import platform
from datetime import datetime
@@ -39,7 +38,7 @@ class Color:
print("\n")
while True:
try:
color_chooser = input(f"[ ? ] Welcome {getpass.getuser()}, would you like to enable colors for this session? (y/n) ")
color_chooser = input(f"[ ? ] Welcome, would you like to enable colors for this session? (y/n) ")
if color_chooser.lower() == "y":
white = "\033[97m"
red = "\033[91m"