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

work with special tigris build that workarounds vs bug on .svn; eg look for _svn too

parent ba54aa96
No related branches found
No related tags found
No related merge requests found
......@@ -41,10 +41,10 @@ import common.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:
if '.svn' in os.listdir('.') or '_svn' in os.listdir('.'):
DATA_DIR = os.path.join('..', 'data')
else: # we are normal users (not svn users)
DATA_DIR = 'data'
try:
# Documents and Settings\[User Name]\Application Data\Gajim
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