This commit is contained in:
olari
2021-06-17 16:08:17 +03:00
parent bef8fec234
commit d2a256bd77
2 changed files with 10 additions and 4 deletions

9
foods
View File

@@ -1,4 +1,13 @@
MangoIcecream
Energy 168kcal
Fat 5.8g
SaturatedFat 3.9g
Carbs 26g
Sugar 23g
Protein 2.9g
Salt 0.12g
Popcorn
Energy 375kcal
Fat 4.3g

View File

@@ -7,9 +7,6 @@ import json
from common import format_timestamp
current_date = datetime.now().strftime('%Y-%m-%d')
current_time = datetime.now().strftime('%H:%M:%S')
@@ -32,7 +29,7 @@ if not target_page.exists():
cwd=str(journal_path), stdout=DEVNULL, stderr=DEVNULL
)
journal = json.load(open('journal.json'))
journal = json.load(open(script_path / 'journal.json'))
notifications = []