win32: path is even better now .gajim ==> Gajim

This commit is contained in:
Nikos Kouremenos 2005-05-20 00:09:18 +00:00
parent d2e0782121
commit 19235f6f68
1 changed files with 5 additions and 4 deletions

View File

@ -27,10 +27,11 @@ _ = i18n._
LOGPATH = os.path.expanduser('~/.gajim/logs')
if os.name == 'nt':
try:
# Documents and Settings\[User Name]\Application Data\gajim\logs
LOGPATH = os.environ['appdata'] + '/gajim/logs'
except KeyError: # win9x, so use ~/.gajim/logs
pass
# Documents and Settings\[User Name]\Application Data\Gajim\logs
LOGPATH = os.environ['appdata'] + '/Gajim/logs'
except KeyError:
# win9x, so use ~/gajim/logs which is WINDOWS\Application Data\Gajim\logs
LOGPATH = os.path.expanduser('~/Gajim/logs')
class Logger:
def __init__(self):