Minor fixes

This commit is contained in:
James Roberts
2021-12-19 14:58:23 +02:00
parent 0daf220291
commit b0b13426d3
5 changed files with 17 additions and 12 deletions

View File

@@ -60,7 +60,7 @@ def run_from_cli():
sys.path.insert(0, ".")
wsgi_app = import_from_string(sys.argv[1])
print_server_details()
print_server_details(HOST, PORT)
print(f"Server listening at http://{HOST}:{PORT}")
_fastwsgi.run_server(wsgi_app, "", PORT, BACKLOG, LOGGING)