fix bug
This commit is contained in:
9
foods
9
foods
@@ -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
|
||||
|
||||
@@ -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 = []
|
||||
|
||||
|
||||
Reference in New Issue
Block a user