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:
parent
4f9404e8b2
commit
fa33b1ad30
|
@ -41,10 +41,7 @@ import logger
|
||||||
logger = logger.Logger() # init the logger
|
logger = logger.Logger() # init the logger
|
||||||
|
|
||||||
if os.name == 'nt':
|
if os.name == 'nt':
|
||||||
if '.svn' in os.listdir('.') or '_svn' in os.listdir('.'):
|
DATA_DIR = os.path.join('..', 'data')
|
||||||
DATA_DIR = os.path.join('..', 'data')
|
|
||||||
else: # we are normal users (not svn users)
|
|
||||||
DATA_DIR = 'data'
|
|
||||||
try:
|
try:
|
||||||
# Documents and Settings\[User Name]\Application Data\Gajim
|
# Documents and Settings\[User Name]\Application Data\Gajim
|
||||||
LOGPATH = os.path.join(os.environ['appdata'], 'Gajim', 'Logs') # deprecated
|
LOGPATH = os.path.join(os.environ['appdata'], 'Gajim', 'Logs') # deprecated
|
||||||
|
|
Loading…
Reference in New Issue