fix path in win9x in migration script (we run it from script folder, logs are in src folder)

This commit is contained in:
Yann Leboulanger 2005-11-25 15:58:20 +00:00
parent 644376a8c8
commit 41d31cc31d
1 changed files with 2 additions and 2 deletions

View File

@ -15,8 +15,8 @@ if os.name == 'nt':
PATH_TO_DB = os.path.join(os.environ['appdata'], 'Gajim', 'logs.db') # database is called logs.db
except KeyError:
# win9x
PATH_TO_LOGS_BASE_DIR = 'Logs'
PATH_TO_DB = 'logs.db'
PATH_TO_LOGS_BASE_DIR = '../src/Logs'
PATH_TO_DB = '../src/logs.db'
else:
PATH_TO_LOGS_BASE_DIR = os.path.expanduser('~/.gajim/logs')
PATH_TO_DB = os.path.expanduser('~/.gajim/logs.db') # database is called logs.db