It always helps to return the thing you're called for
This commit is contained in:
parent
1cb1f166cf
commit
65767693df
|
@ -14,6 +14,8 @@ def get_default_cwd():
|
||||||
if not os.path.exists(cwd) or not os.path.isdir(cwd):
|
if not os.path.exists(cwd) or not os.path.isdir(cwd):
|
||||||
cwd = pwd.getpwuid(os.getuid())[5]
|
cwd = pwd.getpwuid(os.getuid())[5]
|
||||||
|
|
||||||
|
return(cwd)
|
||||||
|
|
||||||
def get_pid_cwd():
|
def get_pid_cwd():
|
||||||
"""Determine an appropriate cwd function for the OS we are running on"""
|
"""Determine an appropriate cwd function for the OS we are running on"""
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue