瀏覽代碼

Maybe daemon was the secret auce

master
Pete Shadbolt 8 年之前
父節點
當前提交
06d7fb9bf3
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      server/server.py

+ 1
- 0
server/server.py 查看文件

@@ -42,6 +42,7 @@ class VizServer(SocketServer.TCPServer):

def start(self):
thread = threading.Thread(None, self.run)
thread.daemon = True
thread.start()
print "Go to 127.0.0.0:{}".format(self.port)



Loading…
取消
儲存