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

View File

@ -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')