We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 49400ed commit 9e7eb21Copy full SHA for 9e7eb21
khiops/core/internals/runner.py
@@ -949,8 +949,9 @@ def _initialize_khiops_version(self):
949
950
# On success parse and save the version
951
if return_code == 0:
952
- # Skip potential non-version lines (ex: Completed loading of file driver...)
953
- for line in stdout.split(os.linesep):
+ # Skip potential non-version lines
+ # (ex: Completed loading of file driver, debug info ...)
954
+ for line in stdout.splitlines():
955
if line.startswith("Khiops"):
956
khiops_version_str = line.rstrip().split(" ")[1]
957
break
0 commit comments