Kaydet (Commit) ea521bf8 authored tarafından frknkrc44's avatar frknkrc44

Bug fixes 52

üst f51ec6aa
......@@ -257,10 +257,10 @@ def touch(filePath):
def cd(directoryName=''):
"""change directory"""
current = os.getcwd()
if directoryName:
os.chdir(directoryName)
else:
current = os.getcwd()
os.chdir(os.path.dirname(current))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment