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:
parent
97034fb998
commit
685f22330a
@ -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',
|
||||
|
Loading…
x
Reference in New Issue
Block a user