fix again configuration paths on windows
the executable for python might also be called pythonw.exe, -> adjust the guess Change-Id: Ie2e7adc6d55f82ad4243761645da0e8e6ec8cc40 Reviewed-on: https://forge.frm2.tum.de/review/c/sine2020/secop/playground/+/22549 Tested-by: JenkinsCodeReview <bjoern_pedersen@frm2.tum.de> Reviewed-by: Markus Zolliker <markus.zolliker@psi.ch>
This commit is contained in:
@ -43,7 +43,7 @@ CONFIG = {
|
||||
'confdir': os.path.join(repodir, 'cfg'),
|
||||
'basedir': repodir,
|
||||
}
|
||||
if path.splitext(sys.executable)[1] == ".exe" and os.path.basename(sys.executable) != 'python.exe':
|
||||
if path.splitext(sys.executable)[1] == ".exe" and not os.path.basename(sys.executable).startswith('python'):
|
||||
CONFIG = {
|
||||
'piddir': './',
|
||||
'logdir': './log',
|
||||
|
Reference in New Issue
Block a user