From 44ae21301adab725b1c8c6deb99c4360437d1cc7 Mon Sep 17 00:00:00 2001 From: Pippijn van Steenhoven Date: Wed, 18 Sep 2024 19:46:27 +0000 Subject: [PATCH] Add back missing Amount in tables. --- code/kubes/nocodb/today.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/kubes/nocodb/today.py b/code/kubes/nocodb/today.py index 019fac3..4054d7d 100755 --- a/code/kubes/nocodb/today.py +++ b/code/kubes/nocodb/today.py @@ -31,7 +31,7 @@ def process_nutrients(rdi, ingredient_amount, ingredient): """Compute all nutrients for an ingredient based on the amount.""" - nutrients = {} + nutrients = {"Amount (g)": ingredient_amount} for k, v in ingredient.items(): if v is None or k == "Name": nutrients[k] = v