X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/do_todos?a=blobdiff_plain;f=calories.py;h=5d2fc98c3aaf99ceaeae0708e6f06094370c8bc3;hb=f659ede27c7fd6313e0bfaa8217a3359c00d5843;hp=048aaccea4fe5bd91d4789fb880c338d33a89478;hpb=2b686c3a54fdd117075df17d7c12fd6e776c35ce;p=misc
diff --git a/calories.py b/calories.py
index 048aacc..5d2fc98 100644
--- a/calories.py
+++ b/calories.py
@@ -26,8 +26,8 @@ input[type="number"] { text-align: right; }
- |
|
+ |
|
@@ -290,12 +290,12 @@ class MyServer(BaseHTTPRequestHandler):
r = db.calc_consumption(c)
consumptions += "
"\
""\
- "%s | "\
" | "\
+ "%s | "\
" | "\
"%.1f | "\
"%.1f | "\
- "" % (c.eatable_key, db.eatables[c.eatable_key].title, c.unit_count, r["cals"], r["sugar"])
+ "" % (c.eatable_key, c.unit_count, db.eatables[c.eatable_key].title, r["cals"], r["sugar"])
day_rows = ""
for date in sorted(db.days.keys()):
day = db.days[date]