X-Git-Url: https://plomlompom.com/repos/%7B%7B%20web_path%20%7D%7D/decks/%7B%7Bdeck_id%7D%7D/cards/%7B%7Bcard_id%7D%7D/test.html?a=blobdiff_plain;f=calories.py;h=23234b2e0924718dfbca7edb3f725ac3e79039c5;hb=0e3baa007880c4c6c27899df85f9ff21626f7c36;hp=771b11af8eab34f14e683066b1acf521e409b10e;hpb=e6eeaa6d863dfcef8bf60715e418b875a3dcc800;p=misc diff --git a/calories.py b/calories.py index 771b11a..23234b2 100644 --- a/calories.py +++ b/calories.py @@ -1,6 +1,10 @@ from http.server import BaseHTTPRequestHandler, HTTPServer import os import json +import datetime + +hostName = "localhost" +serverPort = 8081 def build_page(eatable_rows, consumption_rows, eatables_selection, day_rows): return """ @@ -17,17 +21,16 @@ td, th {
-