Update shell.py

This commit is contained in:
JaydenMW 2021-02-23 15:23:10 +00:00
parent fa0488fb2a
commit f65c2ac545
1 changed files with 2 additions and 2 deletions

View File

@ -8,7 +8,7 @@ RAM = psutil.virtual_memory()
CPU = platform.processor() CPU = platform.processor()
OS = platform.system() OS = platform.system()
HOST = socket.gethostname() HOST = socket.gethostname()
VER = "PCLISH v0.0.6a" VER = "PCLISH v0.0.6a-hotfix1a"
PROMPT = "shell@localhost$ " PROMPT = "shell@localhost$ "
@ -101,7 +101,7 @@ def main():
inp = input(PROMPT) inp = input(PROMPT)
if inp == "exit": if inp == "exit":
break break
elif inp[] == "cd ": elif inp == "cd ":
pclish_cd(inp[3:]) pclish_cd(inp[3:])
elif inp == "help": elif inp == "help":
pclish_help() pclish_help()