set date in menus class

This commit is contained in:
Stanislas Jouffroy 2025-06-13 23:44:30 +02:00
parent 597b4c7f00
commit e172d3fac4

View file

@ -13,7 +13,7 @@ class ResultFile:
self.path.write_text("")
with self.path.open(mode="a") as file:
file.write(
f"{sha256} - {menus.days[0]} - {menus.month} - {datetime.date.today().year}\n"
f"{sha256} - {menus.date()}\n"
)
def was_already_sent(self, sha256: str, menus: Menus):