X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=calories.py;h=dc40d5ff9e58cfaabf14ca2c43c6841e42dbd0c4;hb=a546cea97f153d5f6def4e46309dcb76038d7891;hp=771b11af8eab34f14e683066b1acf521e409b10e;hpb=e6eeaa6d863dfcef8bf60715e418b875a3dcc800;p=misc diff --git a/calories.py b/calories.py index 771b11a..dc40d5f 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 {
-