Remove repeated text

This commit is contained in:
Aleksander Grygierczyk 2022-12-19 08:43:45 +01:00 committed by GitHub
parent b7fff2db33
commit 00a4452e64
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

14
eCLI.py
View File

@ -22,13 +22,13 @@ while True:
os.system("clear")
elif command == "pcinfo":
print(Fore.YELLOW + "=============================================================")
print(Fore.RED + "Computer Name: " + Fore.GREEN + platform.node())
print(Fore.RED + "Computer Type: " + Fore.GREEN + platform.machine())
print(Fore.RED + "Computer Arch: " + Fore.GREEN + platform.architecture()[0])
print(Fore.RED + "Computer OS: " + Fore.GREEN + platform.system())
print(Fore.RED + "Computer OS Version: " + Fore.GREEN + platform.version())
print(Fore.RED + "Computer OS Release: " + Fore.GREEN + platform.release())
print(Fore.RED + "Computer OS Platform: " + Fore.GREEN + platform.platform())
print(Fore.RED + "PC Name: " + Fore.GREEN + platform.node())
print(Fore.RED + "PC Type: " + Fore.GREEN + platform.machine())
print(Fore.RED + "Architecture: " + Fore.GREEN + platform.architecture()[0])
print(Fore.RED + "OS: " + Fore.GREEN + platform.system())
print(Fore.RED + "OS Version: " + Fore.GREEN + platform.version())
print(Fore.RED + "OS Release: " + Fore.GREEN + platform.release())
print(Fore.RED + "OS Platform: " + Fore.GREEN + platform.platform())
print(Fore.YELLOW + "=============================================================")
elif command == "help":
print(Fore.YELLOW + "=============================================================")