diff options
Diffstat (limited to '')
-rwxr-xr-x | pyblog | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1420,7 +1420,7 @@ class HTTPServerProcess(multiprocessing.Process): # pylint: disable=invalid-name HandlerClass = http.server.SimpleHTTPRequestHandler try: - httpd = http.server.HTTPServer(("", 8000), HandlerClass) + httpd = http.server.HTTPServer(("", 8001), HandlerClass) except OSError: httpd = http.server.HTTPServer(("", 0), HandlerClass) _, portnumber = httpd.socket.getsockname() |