From cfa032f7cba12863a94a27c69c8350dcc77d7175 Mon Sep 17 00:00:00 2001 From: Richard Mwewa <74001397+rly0nheart@users.noreply.github.com> Date: Thu, 24 Nov 2022 23:29:51 +0200 Subject: [PATCH] Update colors.py --- octosuite/colors.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/octosuite/colors.py b/octosuite/colors.py index 09af0a8..02805af 100644 --- a/octosuite/colors.py +++ b/octosuite/colors.py @@ -9,11 +9,11 @@ from datetime import datetime # colors.py is the reason why users get to choose whether to enable/disable colors # delete this file, the entire program breaks system_info = [("RAM", f"{str(round(psutil.virtual_memory().total / (1024.0 **3)))}GB"), - ("Processor",platform.processor), - ("Node", platform.node), - ("Release", platform.release), - ("Architecture", platform.architecture), - ("Version", platform.version)] + ("Processor",platform.processor()), + ("Node", platform.node()), + ("Release", platform.release()), + ("Architecture", platform.architecture()), + ("Version", platform.version())] first_banner = f""" OCTOSUITE © 2022 Richard Mwewa {datetime.now().strftime('%A %d %B %Y, %H:%M:%S%p')} @@ -23,7 +23,7 @@ first_banner = f""" print(first_banner) system_tree = Tree(f"{platform.system()}") for system_key, system_value in system_info: - system_tree.add(f"{system_key}: {system_value()}") + system_tree.add(f"{system_key}: {system_value}") xprint(system_tree) print("\n") while True: