From 969b57e99302b144bcc54daec9566f8f012ca322 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Doma=C5=84ski?= Date: Mon, 20 May 2024 16:46:58 +0200 Subject: [PATCH] [barcode] small fix --- Readme.md | 5 +---- fooder/utils/product_finder.py | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/Readme.md b/Readme.md index dfca896..30ea324 100644 --- a/Readme.md +++ b/Readme.md @@ -1,9 +1,6 @@ # FOODER -Simple API for food diary application. It uses FastAPI and async postgres for faster operation. - -I plan on developing a few clients for the API, for now only one is available: -- [Fooder CLI Client](https://github.com/ickyicky/fooder-cli-client) +Simple API for food diary application. It uses FastAPI and async postgres. ## Usage diff --git a/fooder/utils/product_finder.py b/fooder/utils/product_finder.py index ee8165a..64cffa3 100644 --- a/fooder/utils/product_finder.py +++ b/fooder/utils/product_finder.py @@ -48,6 +48,5 @@ def find(bar_code: str) -> Product: fiber=data["product"]["nutriments"].get("fiber_100g", 0.0), ) except Exception as e: - raise e logger.error(e) raise ParseError()