We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18347e2 commit bc44bf3Copy full SHA for bc44bf3
Source/PythonEngine.pas
@@ -9074,7 +9074,7 @@ function IsPythonVersionRegistered(PythonVersion : string;
9074
InstallPath := '';
9075
AllUserInstall := False;
9076
MajorVersion := StrToInt(PythonVersion[1]);
9077
- MinorVersion := StrToInt(PythonVersion[3]);
+ MinorVersion := StrToInt(Copy(PythonVersion, 3));
9078
VersionSuffix := '';
9079
{$IFDEF CPUX86}
9080
if (MajorVersion > 3) or ((MajorVersion = 3) and (MinorVersion >= 5)) then
0 commit comments