From 832afcfd0d8599cccc0ff95148bc1b6cc0fbc9d8 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Wed, 25 Mar 2026 18:19:28 +0800 Subject: [PATCH] bugfix --- pricing/pricing.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pricing/pricing.py b/pricing/pricing.py index a73aa0e..2a9b24d 100644 --- a/pricing/pricing.py +++ b/pricing/pricing.py @@ -362,7 +362,7 @@ order by b.enabled_date desc""" e = f'{p} not formula found' exception(e) raise Exception(e) - debug(f'{formula=}, {ns=}, {p=}') + debug(f'{formula=}, {ns=}, {p=}, {d.fields=}') np.amount = eval(formula, ns) ret_items.append(np) if len(ret_items) == 0: