Commit f143195c authored by Eric S. Raymond's avatar Eric S. Raymond

Correction to test main.

parent 71f85f0c
...@@ -467,7 +467,7 @@ def test(HandlerClass = BaseHTTPRequestHandler, ...@@ -467,7 +467,7 @@ def test(HandlerClass = BaseHTTPRequestHandler,
""" """
if sys.argv[1:]: if sys.argv[1:]:
port = sys.argv[1].atoi() port = int(sys.argv[1])
else: else:
port = 8000 port = 8000
server_address = ('', port) server_address = ('', port)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment