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 1e2dad4 commit b1c0ed5Copy full SHA for b1c0ed5
PythonForDelphi/Components/Sources/Core/PythonVersions.pas
@@ -320,7 +320,8 @@ function GetRegisteredPythonVersion(SysVersion: string;
320
PythonVersion.DLLPath := PythonVersion.InstallPath;
321
CloseKey;
322
end;
323
- Result := PythonVersion.InstallPath <> '';
+ Result := (PythonVersion.InstallPath <> '') and
324
+ DirectoryExists(ExcludeTrailingPathDelimiter(PythonVersion.InstallPath));
325
if not Result then Exit;
326
327
if OpenKey(Key, False) then begin
0 commit comments