From 24835e99387f4df91280ad83208f6db3e10ecea5 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Tue, 7 Nov 2023 06:37:33 +0100 Subject: [PATCH] Improve income_progress_bars.py. --- income_progress_bars.py | 275 ++++++++++++++++++++++------------------ 1 file changed, 150 insertions(+), 125 deletions(-) diff --git a/income_progress_bars.py b/income_progress_bars.py index 1ecd8b9..2093a24 100644 --- a/income_progress_bars.py +++ b/income_progress_bars.py @@ -1,11 +1,12 @@ from http.server import BaseHTTPRequestHandler, HTTPServer import os import json +import jinja2 hostName = "localhost" serverPort = 8081 -header = """ +tmpl = jinja2.Template("""