class ScoreboardServerThread(threading.Thread): def __init__(self,port): threading.Thread.__init__(self) self.scoreboard_server = ScoreboardWebserver(port) def run(self): self.scoreboard_server.serve_forever() def quit(self): self.scoreboard_server.quit() def updateScoreText(self,text): self.scoreboard_server.updateScoreText(text)
def __init__(self,port): threading.Thread.__init__(self) self.scoreboard_server = ScoreboardWebserver(port)