|
@ -506,20 +506,20 @@ class bc(object): |
|
|
pass |
|
|
pass |
|
|
else: |
|
|
else: |
|
|
traces = self.try_running(self.traces, "\nInternal error tracerouting.") |
|
|
traces = self.try_running(self.traces, "\nInternal error tracerouting.") |
|
|
# start web mode (on a different thread) |
|
|
# start web mode (on a different thread) |
|
|
try: |
|
|
try: |
|
|
t = threading.Thread(target=BorderCheckWebserver, args=(self, )) |
|
|
t = threading.Thread(target=BorderCheckWebserver, args=(self, )) |
|
|
t.daemon = True |
|
|
t.daemon = True |
|
|
t.start() |
|
|
t.start() |
|
|
time.sleep(2) |
|
|
time.sleep(2) |
|
|
except (KeyboardInterrupt, SystemExit): |
|
|
except (KeyboardInterrupt, SystemExit): |
|
|
t.join() |
|
|
t.join() |
|
|
sys.exit() |
|
|
sys.exit() |
|
|
# open same browser of history access on a new tab |
|
|
# open same browser of history access on a new tab |
|
|
try: |
|
|
try: |
|
|
webbrowser.open('http://127.0.0.1:8080', new=1) |
|
|
webbrowser.open('http://127.0.0.1:8080', new=1) |
|
|
except: |
|
|
except: |
|
|
print "Error: Browser is not responding correctly.\n" |
|
|
print "Error: Browser is not responding correctly.\n" |
|
|
|
|
|
|
|
|
print('='*75) |
|
|
print('='*75) |
|
|
print(str(p.version)) |
|
|
print(str(p.version)) |
|
|