# HG changeset patch # User gyorgyf # Date 1395348635 0 # Node ID ea2ec5f95ad8212119c44b33b00174f9c7ebb13d # Parent fe04ff3547c7fd2d6c6a87f1311e3028dc5ee8fb some changes to visclient before Barbican diff -r fe04ff3547c7 -r ea2ec5f95ad8 visualclient/visclient.py --- a/visualclient/visclient.py Tue Jul 09 16:30:47 2013 +0100 +++ b/visualclient/visclient.py Thu Mar 20 20:50:35 2014 +0000 @@ -49,9 +49,9 @@ FRAMERATE = 60 # Connection: -IP = "127.0.0.1:8030" +# IP = "127.0.0.1:8030" # IP = "192.168.2.158:8030" -# IP = "138.37.95.215" +IP = "138.37.95.215" HTTP_TIMEOUT = 3 SERVER_UPDATE_INTERVAL = 0.8 @@ -267,8 +267,8 @@ '''Start the thread that reads data from the server.''' self.thread = Thread(target = self.update_thread) self.thread.daemon = True + self.running = True self.thread.start() - self.running = True print "OK. Update thread started." def stop_update_thread(self): @@ -281,6 +281,7 @@ def update_thread(self): '''The server update thread''' + print "Thread reporting..." while self.running : # self.update() try :