From 742135ac6735d8cd978dd85ab922236b45de9175 Mon Sep 17 00:00:00 2001 From: Ching Date: Mon, 4 Mar 2024 22:53:52 +0800 Subject: [PATCH] =?UTF-8?q?fix(api):=20=E4=BF=AE=E5=A4=8D=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E4=BA=A7=E5=93=81=E6=97=B6=E8=8E=B7=E5=8F=96=20barcod?= =?UTF-8?q?e=20=E6=9C=89=E8=AF=AF=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app.py b/app.py index 87534b5..6d3eb4c 100644 --- a/app.py +++ b/app.py @@ -200,7 +200,7 @@ def add(): if product: for product_barcode in product.product_barcodes: if product_barcode.barcode == barcode: - barcode_ = product_barcode.barcode + barcode_ = product_barcode break if barcode_: amount = barcode_.amount