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
|
Popcorn
|
||||||
Energy 375kcal
|
Energy 375kcal
|
||||||
Fat 4.3g
|
Fat 4.3g
|
||||||
|
|||||||
@@ -7,9 +7,6 @@ import json
|
|||||||
|
|
||||||
from common import format_timestamp
|
from common import format_timestamp
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
current_date = datetime.now().strftime('%Y-%m-%d')
|
current_date = datetime.now().strftime('%Y-%m-%d')
|
||||||
current_time = datetime.now().strftime('%H:%M:%S')
|
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
|
cwd=str(journal_path), stdout=DEVNULL, stderr=DEVNULL
|
||||||
)
|
)
|
||||||
|
|
||||||
journal = json.load(open('journal.json'))
|
journal = json.load(open(script_path / 'journal.json'))
|
||||||
|
|
||||||
notifications = []
|
notifications = []
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user