fix configured path on windows

exclude python.exe from special rule

Change-Id: Ia7dfe17ffb3a44dcb642d7a750c92865d7a1c6c3
Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/22435
Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de>
Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
zolliker 2020-02-07 14:07:26 +01:00
parent 97034fb998
commit 685f22330a

View File

@ -43,7 +43,7 @@ CONFIG = {
'confdir': os.path.join(repodir, 'cfg'),
'basedir': repodir,
}
if path.splitext(sys.executable)[1] == ".exe":
if path.splitext(sys.executable)[1] == ".exe" and os.path.basename(sys.executable) != 'python.exe':
CONFIG = {
'piddir': './',
'logdir': './log',