use os.path.join
This commit is contained in:
parent
8beb2e0266
commit
76b4181123
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue