bugfix in initilizing config file

This commit is contained in:
Yann Leboulanger 2004-10-21 15:11:29 +00:00
parent 3241f32e11
commit 3656496d89
1 changed files with 2 additions and 2 deletions

View File

@ -271,10 +271,10 @@ class GajimCore:
'localhost', 'port': 8255, 'modules': 'gtkgui'}}
fname = os.path.expanduser(CONFPATH)
reps = string.split(fname, '/')
del reps[0]
# del reps[0]
path = ''
while len(reps) > 1:
path = path + '/' + reps[0]
path = path + reps[0] + '/'
del reps[0]
try:
os.stat(os.path.expanduser(path))