diff --git a/terminatorlib/cwd.py b/terminatorlib/cwd.py index b4c87a9e..703a7732 100755 --- a/terminatorlib/cwd.py +++ b/terminatorlib/cwd.py @@ -13,6 +13,8 @@ def get_default_cwd(): cwd = os.getcwd() if not os.path.exists(cwd) or not os.path.isdir(cwd): cwd = pwd.getpwuid(os.getuid())[5] + + return(cwd) def get_pid_cwd(): """Determine an appropriate cwd function for the OS we are running on"""