From 61e3592ae239cbcfd1b2e172e9375e15c74f960b Mon Sep 17 00:00:00 2001 From: exflikt Date: Sat, 5 Oct 2024 22:42:43 +0900 Subject: [PATCH] Fix incorrect count and price values introduced by 6ae6285 --- app/store/product.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/store/product.py b/app/store/product.py index c3d8600..d29102a 100644 --- a/app/store/product.py +++ b/app/store/product.py @@ -30,8 +30,8 @@ class OrderSession: def __init__(self): self.products: dict[UUID, Product] = {} self.counted_products: dict[int, OrderSession.CountedProduct] = {} - self.total_count: int = 1 - self.total_price: int = 1 + self.total_count: int = 0 + self.total_price: int = 0 def clear(self): self.total_count = 0