added logs

This commit is contained in:
Stanislas Jouffroy 2025-06-13 23:48:40 +02:00
parent e172d3fac4
commit 7569db9412
2 changed files with 9 additions and 3 deletions

View file

@ -12,9 +12,7 @@ class ResultFile:
if not self.path.exists():
self.path.write_text("")
with self.path.open(mode="a") as file:
file.write(
f"{sha256} - {menus.date()}\n"
)
file.write(f"{sha256} - {menus.date()}\n")
def was_already_sent(self, sha256: str, menus: Menus):
if not self.path.exists():