Skip to content
This repository has been archived by the owner on Jan 25, 2023. It is now read-only.

Commit

Permalink
Bug fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriyse committed Oct 14, 2016
1 parent 0f4acf4 commit b89dd3c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/Python.Bootstrapper/PythonRuntimeBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ private static string DetectRequiredPythonRuntimDll(out string os, out List<stri
{
throw new InvalidOperationException("Failed to execute python");
}

var result = stdOut.Split('\n');
var result = NormalizeOutput(stdOut).Split('\n');
int majorVersion;
int minorVersion;
int charSize;
Expand Down Expand Up @@ -166,7 +166,7 @@ private static string DetectRequiredPythonRuntimDll(out string os, out List<stri
}

librariesPathElements = new List<string>();
for (int i = 0; i < result.Length; i++)
for (int i = 6; i < 8; i++)
{
var libPathElement = result[i].Trim();
if (libPathElement != "None" && libPathElement != string.Empty)
Expand Down

0 comments on commit b89dd3c

Please sign in to comment.