X-Git-Url: https://plomlompom.com/repos/berlin_corona.txt?a=blobdiff_plain;ds=sidebyside;f=calories.py;h=5d2fc98c3aaf99ceaeae0708e6f06094370c8bc3;hb=f659ede27c7fd6313e0bfaa8217a3359c00d5843;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]