From 742c6d3925f58af29d0d6228b38df09d1a14c46a Mon Sep 17 00:00:00 2001 From: Fierelier Date: Wed, 18 May 2022 02:29:33 +0200 Subject: [PATCH] Fix non-existing color --- oml/stages/config.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/oml/stages/config.py b/oml/stages/config.py index 64d44eb..72ce891 100644 --- a/oml/stages/config.py +++ b/oml/stages/config.py @@ -43,9 +43,8 @@ if len(sys.argv) > 1: lv[argSplit[0]] = True if not lv["osName"] in ["windows","linux","macos"]: - print(colored(colorama.Fore.YELLOW,"\nWarning, unsupported OS detected: '" +lv["osName"]+ "'"),file=sys.stderr) - print("Needs to be either windows, linux or macos. Define it with osName=name in the config.",file=sys.stderr) - print(colored(colorama.Fore.PURPLE,"Falling back to assuming Linux.")) + print(colored(colorama.Fore.YELLOW,"\nWarning, unsupported OS detected: '" +lv["osName"]+ "'. Needs to be either windows, linux or macos. Define it with osName=name in the config."),file=sys.stderr) + print(colored(colorama.Fore.MAGENTA,"Falling back to assuming Linux.")) lv["osName"] = "linux" print("")