consistency and likely cross-platform improvement

This commit is contained in:
Chris Jones 2008-03-29 01:29:09 +00:00
parent 5ea8776fce
commit 78e8aa42ae
1 changed files with 1 additions and 1 deletions

View File

@ -132,7 +132,7 @@ class TerminatorTerm:
self.cwd = cwd or os.getcwd(); self.cwd = cwd or os.getcwd();
if not os.path.exists(self.cwd) or not os.path.isdir(self.cwd): 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: if profile == None:
profile = self.gconf_client.get_string (self.defaults['gt_dir'] + '/global/default_profile') profile = self.gconf_client.get_string (self.defaults['gt_dir'] + '/global/default_profile')