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,
"""
if sys.argv[1:]:
port = sys.argv[1].atoi()
port = int(sys.argv[1])
else:
port = 8000
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