Browse Source

Update sysinfo.py

Coder 4 years ago
parent
commit
6ed0c6c52f
1 changed files with 2 additions and 5 deletions
  1. 2 5
      src/sysinfo.py

+ 2 - 5
src/sysinfo.py

@@ -12,19 +12,16 @@ import time
 #Create timer to get execution time
 #Create timer to get execution time
 start = time.time()
 start = time.time()
 
 
-#Ask user if they have the Linux command line tool figlet installed
+#If not already installed, install figlet
 figlet_install = input("Do you have figlet installed on your linux terminal (Y/N)? ")
 figlet_install = input("Do you have figlet installed on your linux terminal (Y/N)? ")
 
 
-#If they already have it installed, don't do anything and move on to the next part in the code
 if figlet_install.upper() == "Y":
 if figlet_install.upper() == "Y":
     pass
     pass
 
 
-#If user does not have figlet installed, in the background the program runs the Linux command for installing figlet
 elif figlet_install.upper() == "N":
 elif figlet_install.upper() == "N":
     print("Installing figlet...")
     print("Installing figlet...")
     os.system("sudo apt-get install figlet")
     os.system("sudo apt-get install figlet")
-
-#If user doesn't enter y or n, throw an error exiting the program
+    
 elif figlet_install.upper() != "Y" and "N":
 elif figlet_install.upper() != "Y" and "N":
     sys.exit("Invalid input. Your input must either be Y or N (uppercase is not mandatory).")
     sys.exit("Invalid input. Your input must either be Y or N (uppercase is not mandatory).")