From a8815cfe74b1e22001efec3023b61d1565bfae6c Mon Sep 17 00:00:00 2001 From: psy Date: Sun, 8 Sep 2013 09:49:58 -0700 Subject: [PATCH] code checkpoint --- webserver.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/webserver.py b/webserver.py index 805eaad..9915c16 100644 --- a/webserver.py +++ b/webserver.py @@ -12,7 +12,6 @@ from runpy import run_module from urlparse import urlparse from cgi import parse_qs #, parse_header, parse_multipart import cgi -import webbrowser port = 8080 wwwroot = "web/" @@ -120,10 +119,6 @@ class BorderCheckWebserver(): print '='*45 + "\n", "Data Visualization:\n" + '='*45 + "\n" print "Mode: Webserver\n" print "Host: http://127.0.0.1:%d/\n\nPath: '%s/web'" % (port, os.getcwd()), "\n" - try: - webbrowser.open('http://127.0.0.1:8080', new=1) - except: - print "Error: Browser is not responding correctly.\n" try: httpd.serve_forever() except KeyboardInterrupt: