From 9473b0278d5f6c199ff8806a9d66a7d11d9e5869 Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Fri, 23 Dec 2022 18:14:21 +0200 Subject: [PATCH] Update config.py --- octosuite/config.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/octosuite/config.py b/octosuite/config.py index 117a714..9f6beed 100644 --- a/octosuite/config.py +++ b/octosuite/config.py @@ -92,10 +92,10 @@ def create_parser(): parser = create_parser() args = parser.parse_args() -# This file is responsible for enabling/disabling colors in OctoSuite -# This file gets called first at start up before any other file gets called -# colors.py is the reason why users get to choose whether to enable/disable colors -# delete this file, the entire program breaks +# This file is responsible for enabling/disabling colo[u]rs and configuring argparse in OctoSuite +# This file gets called first at start up before any other file +# config.py is the reason why users get to choose whether to enable/disable colo[u]rs, and call the program with command line arguments +# delete this file (I dare you), the entire program breaks system_info = [("RAM", f"{str(round(psutil.virtual_memory().total / (1024.0 ** 3)))}GB"), ("Node", platform.node()), ("Release", platform.release()), @@ -125,7 +125,7 @@ else: xprint(system_tree) print("\n") try: - color_chooser = input(f"[PROMPT] Welcome, would you like to enable colors for this session? (yes/no) ").lower() + color_chooser = input(f"[PROMPT] Welcome, would you like to enable colo[u]rs for this session? (yes/no) ").lower() if color_chooser == "yes": header_title = "bold white" red = "[red]"