Correction to test main.

This commit is contained in:
Eric S. Raymond 2001-02-09 05:38:46 +00:00
parent f296019cc5
commit 5ff63d6780
1 changed files with 1 additions and 1 deletions

View File

@ -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)