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
|
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':
|
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'):
|
for evt in gajim.config.get_per('soundevents'):
|
||||||
path = gajim.config.get_per('soundevents', evt, 'path')
|
path = gajim.config.get_per('soundevents', evt, 'path')
|
||||||
# absolute and relative passes are necessary
|
# absolute and relative passes are necessary
|
||||||
|
|
Loading…
Reference in New Issue