consistency and likely cross-platform improvement
This commit is contained in:
parent
5ea8776fce
commit
78e8aa42ae
|
@ -132,7 +132,7 @@ class TerminatorTerm:
|
|||
|
||||
self.cwd = cwd or os.getcwd();
|
||||
if not os.path.exists(self.cwd) or not os.path.isdir(self.cwd):
|
||||
self.cwd = os.path.expanduser("~")
|
||||
self.cwd = pwd.getpwuid(os.getuid ())[5]
|
||||
|
||||
if profile == None:
|
||||
profile = self.gconf_client.get_string (self.defaults['gt_dir'] + '/global/default_profile')
|
||||
|
|
Loading…
Reference in New Issue