help Yann release faster when in Windoz

This commit is contained in:
Nikos Kouremenos 2005-11-21 19:12:16 +00:00
parent cf2ff62b65
commit 47ee43568f
1 changed files with 2 additions and 0 deletions

View File

@ -42,6 +42,8 @@ DATA_DIR = '../data'
LOGPATH = os.path.expanduser('~/.gajim/logs')
VCARDPATH = os.path.expanduser('~/.gajim/vcards')
if os.name == 'nt':
if '.svn' not in os.listdir('.'): # we are normal users (not svn users)
DATA_DIR = 'data'
try:
# Documents and Settings\[User Name]\Application Data\Gajim\logs
LOGPATH = os.environ['appdata'] + '/Gajim/Logs'