fix python stdout and stderr integration

This commit is contained in:
wea_ondara
2024-05-29 18:37:31 +02:00
parent c8edb1da45
commit d6ef6ea1dc
2 changed files with 4 additions and 5 deletions

View File

@@ -60,6 +60,4 @@ class Server:
port = port or 8900
with self.HTTPServer(("127.0.0.1", port), handler) as httpd:
print("serving at http://127.0.0.1:" + str(port))
import sys
sys.stdout.flush()
httpd.serve_forever()