Skip to content

Commit

Permalink
Fix missing broker file error
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmdel committed Dec 9, 2024
1 parent a9664b4 commit f63d699
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion units/brokerunit.pas
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ procedure TBroker.LoadFromFile(const aFilename: string);
stream : TFileStream;
jd : TJSONData;
begin
if aFilename = '' then exit;
if (aFilename = '') or (not fileExists(aFilename)) then exit;
jd := nil;
stream := TFileStream.Create(AFileName,fmOpenRead or fmShareDenyWrite);
try
Expand Down

0 comments on commit f63d699

Please sign in to comment.