Fixed buggy config update to 01215
This commit is contained in:
parent
ff658ee144
commit
43527d23d0
|
@ -704,9 +704,9 @@ class OptionsParser:
|
|||
"""
|
||||
Remove hardcoded ../data/sounds from config
|
||||
"""
|
||||
dirs = ('../data', gajim.gajimpaths.data_root, gajim.DATA_DIR)
|
||||
dirs = ['../data', gajim.gajimpaths.data_root, gajim.DATA_DIR]
|
||||
if os.name != 'nt':
|
||||
dirs += (os.path.expanduser(u'~/.gajim'))
|
||||
dirs.append(os.path.expanduser(u'~/.gajim')
|
||||
for evt in gajim.config.get_per('soundevents'):
|
||||
path = gajim.config.get_per('soundevents', evt, 'path')
|
||||
# absolute and relative passes are necessary
|
||||
|
|
Loading…
Reference in New Issue