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

Commit

Permalink
Parametes analyzing fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmitriyse committed Oct 14, 2016
1 parent 3f9ffb2 commit 0f4acf4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Python.Bootstrapper/PythonRuntimeBootstrapper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ private static string DetectRequiredPythonRuntimDll(out string os, out List<stri
int charSize;
bool pyMalloc = false;

if (result.Length == 8)
if (result.Length >= 8)
{
if (int.TryParse(result[0], out majorVersion) && int.TryParse(result[1], out minorVersion)
&& int.TryParse(result[2], out charSize))
Expand Down

0 comments on commit 0f4acf4

Please sign in to comment.