From 644f6b26b1018b35a8b5d5eb8497520276a3392e Mon Sep 17 00:00:00 2001 From: SatCFDI Date: Wed, 10 Apr 2024 16:31:46 -0600 Subject: [PATCH] updated test requirements --- satcfdi/accounting/contabilidad.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/satcfdi/accounting/contabilidad.py b/satcfdi/accounting/contabilidad.py index 8fea8c7..c868bda 100644 --- a/satcfdi/accounting/contabilidad.py +++ b/satcfdi/accounting/contabilidad.py @@ -225,7 +225,7 @@ def sign(cta): def validate_saldos(cuentas): totales = {} for k, v in cuentas.items(): - sub_cta = v.get('SubCtaDe') or '' + sub_cta = v.get('SubCtaDe') totales.setdefault(sub_cta, 0) totales[sub_cta] += v['SaldoFin'] * sign(v)