help Yann release faster when in Windoz
This commit is contained in:
parent
cf2ff62b65
commit
47ee43568f
|
@ -42,6 +42,8 @@ DATA_DIR = '../data'
|
||||||
LOGPATH = os.path.expanduser('~/.gajim/logs')
|
LOGPATH = os.path.expanduser('~/.gajim/logs')
|
||||||
VCARDPATH = os.path.expanduser('~/.gajim/vcards')
|
VCARDPATH = os.path.expanduser('~/.gajim/vcards')
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
|
if '.svn' not in os.listdir('.'): # we are normal users (not svn users)
|
||||||
|
DATA_DIR = 'data'
|
||||||
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'
|
||||||
|
|
Loading…
Reference in New Issue