Skip to content

Commit

Permalink
Rollback wrong change
Browse files Browse the repository at this point in the history
  • Loading branch information
eberloso committed Aug 16, 2021
1 parent 9abd9db commit 814cfaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gestionatr/input/messages/F1.py
Original file line number Diff line number Diff line change
Expand Up @@ -1741,7 +1741,7 @@ def te_lectures_amb_decimals(self):

for c in self.get_comptadors():
for l in c.get_lectures(force_no_transforma_no_td_a_td=True):
if not l.ajuste and not isinstance(l.consumo_calculado, int):
if not l.ajuste and not l.consumo_calculado.is_integer():
return True

return False
Expand Down

0 comments on commit 814cfaa

Please sign in to comment.