fixed templates path

This commit is contained in:
Stanislas Jouffroy 2025-06-13 23:37:28 +02:00
parent 6d650e3775
commit 221d90b398

View file

@ -30,4 +30,7 @@ class ResultFile:
return False return False
content = self.path.read_text() content = self.path.read_text()
date = f"{menus.days[0]} - {menus.month} - {datetime.date.today().year}" date = f"{menus.days[0]} - {menus.month} - {datetime.date.today().year}"
return f"{sha256} - {date}" not in content and date in content res = f"{sha256} - {date}" not in content and date in content
if res:
self.write(sha256, menus)
return res