Skip to content
Snippets Groups Projects
Commit 68af3d51 authored by nkour's avatar nkour
Browse files

[juracy] fix for windows svn users

parent 203fd82b
No related branches found
No related tags found
No related merge requests found
......@@ -37,10 +37,13 @@ h.setFormatter(f)
log = logging.getLogger('Gajim')
log.addHandler(h)
logger = common.logger.Logger()
logger = common.logger.Logger() # init the logger
if os.name == 'nt':
if '.svn' not in os.listdir('.'): # we are normal users (not svn users)
DATA_DIR = 'data'
else:
DATA_DIR = os.path.join('..', 'data')
try:
# Documents and Settings\[User Name]\Application Data\Gajim\logs
LOGPATH = os.path.join(os.environ['appdata'], 'Gajim', 'Logs') # deprecated
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment