Skip to content

Commit f96a74c

Browse files
committed
fix: avoid recursivity on calculating data_inici and data_fi
1 parent 300a31b commit f96a74c

File tree

1 file changed

+1
-1
lines changed
  • gestionatr/input/messages

1 file changed

+1
-1
lines changed

gestionatr/input/messages/F1.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1654,7 +1654,7 @@ def gir_comptador(self):
16541654
def get_dates_inici_i_final(self):
16551655
data_inici = ''
16561656
data_final = ''
1657-
for lect in self.get_lectures(force_no_transforma_no_td_a_td=True):
1657+
for lect in self.get_lectures_base():
16581658
data_in_compt = datetime.strptime(
16591659
lect.lectura_desde.fecha, '%Y-%m-%d'
16601660
)

0 commit comments

Comments
 (0)