Skip to content

Commit bc44bf3

Browse files
committed
1 parent 18347e2 commit bc44bf3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/PythonEngine.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9074,7 +9074,7 @@ function IsPythonVersionRegistered(PythonVersion : string;
90749074
InstallPath := '';
90759075
AllUserInstall := False;
90769076
MajorVersion := StrToInt(PythonVersion[1]);
9077-
MinorVersion := StrToInt(PythonVersion[3]);
9077+
MinorVersion := StrToInt(Copy(PythonVersion, 3));
90789078
VersionSuffix := '';
90799079
{$IFDEF CPUX86}
90809080
if (MajorVersion > 3) or ((MajorVersion = 3) and (MinorVersion >= 5)) then

0 commit comments

Comments
 (0)