Sfoglia il codice sorgente

Maybe daemon was the secret auce

master
Pete Shadbolt 8 anni fa
parent
commit
06d7fb9bf3
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  1. +1
    -0
      server/server.py

+ 1
- 0
server/server.py Vedi File

@@ -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…
Annulla
Salva