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'
|
||||
try:
|
||||
# Documents and Settings\[User Name]\Application Data\Gajim\logs
|
||||
LOGPATH = os.environ['appdata'] + '/Gajim/Logs'
|
||||
VCARDPATH = os.environ['appdata'] + '/Gajim/Vcards'
|
||||
LOGPATH = os.path.join(os.environ['appdata'], 'Gajim', 'Logs')
|
||||
VCARDPATH = os.path.join(os.environ['appdata'], 'Gajim', 'Vcards')
|
||||
except KeyError:
|
||||
# win9x, ./logs
|
||||
LOGPATH = 'Logs'
|
||||
|
|
|
@ -171,4 +171,5 @@ class OptionsParser:
|
|||
gajim.config.add_per('emoticons', emot)
|
||||
gajim.config.set_per('emoticons', emot, 'path',
|
||||
gajim.config.emoticons_default[emot])
|
||||
|
||||
gajim.config.set('version', '0.9')
|
||||
|
|
Loading…
Reference in New Issue