home · contact · privacy
Minor layout improvement to calories counter.
[misc] / income_progress_bars.py
index 5a4f5ad013eae7e8bbc68b301e1d429c78e23b72..1ecd8b9a14452b0bc352084ef98ca7f4a8955140 100644 (file)
@@ -3,7 +3,7 @@ import os
 import json
 
 hostName = "localhost"
-serverPort = 8080
+serverPort = 8081
 
 header = """<html>
 <meta charset="UTF-8">
@@ -257,7 +257,7 @@ class MyServer(BaseHTTPRequestHandler):
 
 if __name__ == "__main__":        
     webServer = HTTPServer((hostName, serverPort), MyServer)
-    print("Server started http://%s:%s" % (hostName, serverPort))
+    print(f"Server started http://{hostName}:{serverPort}")
     try:
         webServer.serve_forever()
     except KeyboardInterrupt: