Skip to content

Commit

Permalink
chore: small changes
Browse files Browse the repository at this point in the history
  • Loading branch information
salvadorbs committed Nov 25, 2023
1 parent 8a571a7 commit 5308231
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion LidlToGrocy.lpr
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

Application.LidlCountry := GetEx(['c', 'lidl-country'], 'lidl country' , 'EN');
Application.LidlLanguage := GetEx(['l', 'lidl-lang'], 'lidl language', 'en');
Application.LidlToken := GetEx(['t', 'lidl-token'], 'lidl token');
Application.LidlToken := GetEx(['t', 'lidl-token'], 'lidl token (see https://github.com/Andre0512/lidl-plus#commandline-tool)');

Application.LidlJsonFilePath :=
GetEx(['f', 'lidl-filepath'], 'lidl json file (optional)');
Expand Down
2 changes: 1 addition & 1 deletion library/kernel.application.pas
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ function TLidlToGrocy.GetOFFProductInfo(var LidlProduct: TItemsLine): TOFFProduc
try
OFFProductInfo := TOpenFoodFactsService.GetProduct(LidlProduct.CodeInput);
except
TLogger.Error('Failed OpenFoodFacts api call', []);
end;
end;

Expand Down Expand Up @@ -221,7 +222,6 @@ procedure TLidlToGrocy.DoRun;
Exit;
end;


if (FLidlJsonFilePath <> '') and FileExists(FLidlJsonFilePath) then
begin
TLogger.Info('Loading json from file %s', [FLidlJsonFilePath]);
Expand Down

0 comments on commit 5308231

Please sign in to comment.