From 98e78c799931a8864c26e1e130bd0338755abdbc Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Fri, 20 May 2005 18:13:38 +0000 Subject: [PATCH] win9x: save in current dir --- src/common/logger.py | 4 ++-- src/gajim.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/common/logger.py b/src/common/logger.py index 245a1315a..992c95859 100644 --- a/src/common/logger.py +++ b/src/common/logger.py @@ -30,8 +30,8 @@ if os.name == 'nt': # 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') + # win9x, ./logs + LOGPATH = 'logs' class Logger: def __init__(self): diff --git a/src/gajim.py b/src/gajim.py index 47bab4013..2e865d4aa 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -71,8 +71,8 @@ if os.name == 'nt': # Documents and Settings\[User Name]\Application Data\Gajim\logs config_filename = os.environ['appdata'] + '/Gajim/config' except KeyError: - # win9x, so use ~/Gajim/logs which is WINDOWS\Application Data\Gajim\logs - config_filename = os.path.expanduser('~/Gajim/config') + # win9x so ./config + config_filename = 'config' if do_move: os.renames(old_path, config_filename)