fixed templates path
This commit is contained in:
parent
6d650e3775
commit
221d90b398
1 changed files with 4 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue