os.path. join in other places too
This commit is contained in:
parent
38061d8993
commit
150cbce4e2
|
@ -46,8 +46,8 @@ if os.name == 'nt':
|
||||||
DATA_DIR = 'data'
|
DATA_DIR = 'data'
|
||||||
try:
|
try:
|
||||||
# Documents and Settings\[User Name]\Application Data\Gajim\logs
|
# Documents and Settings\[User Name]\Application Data\Gajim\logs
|
||||||
LOGPATH = os.environ['appdata'] + '/Gajim/Logs'
|
LOGPATH = os.path.join(os.environ['appdata'], 'Gajim', 'Logs')
|
||||||
VCARDPATH = os.environ['appdata'] + '/Gajim/Vcards'
|
VCARDPATH = os.path.join(os.environ['appdata'], 'Gajim', 'Vcards')
|
||||||
except KeyError:
|
except KeyError:
|
||||||
# win9x, ./logs
|
# win9x, ./logs
|
||||||
LOGPATH = 'Logs'
|
LOGPATH = 'Logs'
|
||||||
|
|
|
@ -171,4 +171,5 @@ class OptionsParser:
|
||||||
gajim.config.add_per('emoticons', emot)
|
gajim.config.add_per('emoticons', emot)
|
||||||
gajim.config.set_per('emoticons', emot, 'path',
|
gajim.config.set_per('emoticons', emot, 'path',
|
||||||
gajim.config.emoticons_default[emot])
|
gajim.config.emoticons_default[emot])
|
||||||
|
|
||||||
gajim.config.set('version', '0.9')
|
gajim.config.set('version', '0.9')
|
||||||
|
|
Loading…
Reference in New Issue