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)