change http/websocket ports to 8050/8051
This commit is contained in:
1 parent
04c762e0e3
commit
d9df749ca1
1 file changed
+2
-2
+2
-2
@@ -9,8 +9,8 @@ starttime = time.time()
|
||||
sys.stderr.write('start\n')
|
||||
for _ in range(30):
|
||||
try:
|
||||
socket.create_connection(('localhost', 8080), timeout=1)
|
||||
os.system('/usr/bin/chromium-browser http://localhost:8080/')
|
||||
socket.create_connection(('localhost', 8051), timeout=1)
|
||||
os.system('/usr/bin/chromium-browser http://localhost:8050/')
|
||||
t = time.time() - starttime
|
||||
if t > 30:
|
||||
break
|
||||
|
||||
Reference in new issue
Block a user