diff options
author | Evan Martin <martine@danga.com> | 2011-01-23 00:39:54 (GMT) |
---|---|---|
committer | Evan Martin <martine@danga.com> | 2011-01-23 00:39:54 (GMT) |
commit | 58cf4c96bfc0954698f1c62b51bc534390d62ce7 (patch) | |
tree | e4a53f6562432e60f947e81ecef1bcf2fb28e7bc | |
parent | 0c9412113041f4f33cf907f6f97af057c904fb06 (diff) | |
download | Ninja-58cf4c96bfc0954698f1c62b51bc534390d62ce7.zip Ninja-58cf4c96bfc0954698f1c62b51bc534390d62ce7.tar.gz Ninja-58cf4c96bfc0954698f1c62b51bc534390d62ce7.tar.bz2 |
call out ctl-c for quitting
-rwxr-xr-x | src/browse.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/browse.py b/src/browse.py index 0d586bf..d326af3 100755 --- a/src/browse.py +++ b/src/browse.py @@ -120,7 +120,7 @@ class RequestHandler(BaseHTTPServer.BaseHTTPRequestHandler): port = 8000 httpd = BaseHTTPServer.HTTPServer(('',port), RequestHandler) try: - print 'Web server running on port %d...' % port + print 'Web server running on port %d, ctl-C to abort...' % port webbrowser.open_new('http://localhost:%s' % port) httpd.serve_forever() except KeyboardInterrupt: |