X-Git-Url: https://plomlompom.com/repos/processes?a=blobdiff_plain;f=calories.py;h=5d2fc98c3aaf99ceaeae0708e6f06094370c8bc3;hb=5ca43356293c713a280d049578a987a2f46e5038;hp=048aaccea4fe5bd91d4789fb880c338d33a89478;hpb=40f30842115407c2c319aab3890465abd217843e;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]