use os.path.join

This commit is contained in:
Nikos Kouremenos 2005-11-22 11:25:04 +00:00
parent 8beb2e0266
commit 76b4181123
1 changed files with 1 additions and 1 deletions

View File

@ -6,7 +6,7 @@ from pysqlite2 import dbapi2 as sqlite
if os.name == 'nt':
try:
PATH_TO_LOGS_BASE_DIR = os.path.join(os.environ['appdata'], 'Gajim/Logs')
PATH_TO_LOGS_BASE_DIR = os.path.join(os.environ['appdata'], 'Gajim', 'Logs')
PATH_TO_DB = os.path.join(os.environ['appdata'], 'logs.db') # database is called logs.db
except KeyError:
# win9x