win32: path is even better now .gajim ==> Gajim
This commit is contained in:
parent
d2e0782121
commit
19235f6f68
1 changed files with 5 additions and 4 deletions
|
@ -27,10 +27,11 @@ _ = i18n._
|
||||||
LOGPATH = os.path.expanduser('~/.gajim/logs')
|
LOGPATH = os.path.expanduser('~/.gajim/logs')
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
try:
|
try:
|
||||||
# Documents and Settings\[User Name]\Application Data\gajim\logs
|
# Documents and Settings\[User Name]\Application Data\Gajim\logs
|
||||||
LOGPATH = os.environ['appdata'] + '/gajim/logs'
|
LOGPATH = os.environ['appdata'] + '/Gajim/logs'
|
||||||
except KeyError: # win9x, so use ~/.gajim/logs
|
except KeyError:
|
||||||
pass
|
# win9x, so use ~/gajim/logs which is WINDOWS\Application Data\Gajim\logs
|
||||||
|
LOGPATH = os.path.expanduser('~/Gajim/logs')
|
||||||
|
|
||||||
class Logger:
|
class Logger:
|
||||||
def __init__(self):
|
def __init__(self):
|
||||||
|
|
Loading…
Add table
Reference in a new issue