Update shell.py

This commit is contained in:
JaydenMW 2021-02-20 21:28:14 +00:00
parent ab1f1b63fd
commit f2b889a1c2
1 changed files with 3 additions and 3 deletions

View File

@ -54,11 +54,11 @@ def pclish_cd(path):
except Exception:
print("cd: no such file or directory: {}".format(path))
def pclish_echo(TXT):
def pclish_echo(txt):
try:
print(TXT)
os.chdir(os.path.abspath(path))
except Exception:
print("You need to provide arguments")
print("You need to provide arguments for this command.".format(path))
def pclish_oscmd(ARGS):
os.system(ARGS)