bugfix in initilizing config file
This commit is contained in:
parent
3241f32e11
commit
3656496d89
|
@ -271,10 +271,10 @@ class GajimCore:
|
||||||
'localhost', 'port': 8255, 'modules': 'gtkgui'}}
|
'localhost', 'port': 8255, 'modules': 'gtkgui'}}
|
||||||
fname = os.path.expanduser(CONFPATH)
|
fname = os.path.expanduser(CONFPATH)
|
||||||
reps = string.split(fname, '/')
|
reps = string.split(fname, '/')
|
||||||
del reps[0]
|
# del reps[0]
|
||||||
path = ''
|
path = ''
|
||||||
while len(reps) > 1:
|
while len(reps) > 1:
|
||||||
path = path + '/' + reps[0]
|
path = path + reps[0] + '/'
|
||||||
del reps[0]
|
del reps[0]
|
||||||
try:
|
try:
|
||||||
os.stat(os.path.expanduser(path))
|
os.stat(os.path.expanduser(path))
|
||||||
|
|
Loading…
Reference in New Issue