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 8eae7b7 commit dc97ad7Copy full SHA for dc97ad7
Modules/DelphiFMX/uMain.pas
@@ -61,6 +61,8 @@ function TryLoadVerFromModuleDefs(): boolean;
61
var LFilePath := GetModuleDefsJSONFilePath();
62
if TFile.Exists(LFilePath) then begin
63
var LJson := TJSONObject.ParseJSONValue(TFile.ReadAllText(LFilePath));
64
+ if not Assigned(LJson) then
65
+ Exit(false);
66
67
var LPythonHome := String.Empty;
68
if LJson.TryGetValue<string>('python_home', LPythonHome) then begin
0 commit comments