From b4010c11ec550d678ed361206904ac8f31975063 Mon Sep 17 00:00:00 2001 From: Marc Calvo Date: Thu, 11 Jul 2024 16:41:44 +0200 Subject: [PATCH] fix decimales --- gestionatr/input/messages/F1.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gestionatr/input/messages/F1.py b/gestionatr/input/messages/F1.py index ee9480bb..1a6b1e5c 100644 --- a/gestionatr/input/messages/F1.py +++ b/gestionatr/input/messages/F1.py @@ -1869,7 +1869,7 @@ def te_lectures_amb_decimals(self): for l in c.get_lectures(force_no_transforma_no_td_a_td=True): if isinstance(l.consumo_calculado, int): return False - if not l.ajuste and not l.consumo_calculado.is_integer(): + if not l.consumo_calculado.is_integer(): return True return False