until we find a way to detect snaps from releases revert a commit I did some weeks ago to assist Yann release .exe faster

This commit is contained in:
Nikos Kouremenos 2005-12-06 00:08:57 +00:00
parent 4f9404e8b2
commit fa33b1ad30
1 changed files with 1 additions and 4 deletions

View File

@ -41,10 +41,7 @@ import logger
logger = logger.Logger() # init the logger
if os.name == 'nt':
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