From 950df9a4c258aae48581a141a6e8662452793e0a Mon Sep 17 00:00:00 2001 From: yumoqing Date: Thu, 16 Jul 2026 18:36:12 +0800 Subject: [PATCH] bugfix --- accounting/accounting_config.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/accounting/accounting_config.py b/accounting/accounting_config.py index 2beaefc..8cb8c41 100644 --- a/accounting/accounting_config.py +++ b/accounting/accounting_config.py @@ -153,7 +153,7 @@ class Accounting: debt_balance += l['amount'] else: credit_balance += l['amount'] - if abs(credit_balance - debt_balance) >= 0.00001: + if abs(credit_balance - debt_balance) >= 0.0001: e = Exception('accounting legs not balance') exception(f'{legs=}, {e=}') raise e