Commit 76c04f80 authored by Taddeus Kroes's avatar Taddeus Kroes

Removed some debug lines

parent 5f5d23b8
...@@ -66,7 +66,6 @@ if __name__ == '__main__': ...@@ -66,7 +66,6 @@ if __name__ == '__main__':
def update(): def update():
while True: while True:
if not clients: if not clients:
print 'stop thread'
break break
status = Frame(OPCODE_TEXT, json.dumps(dict(stats()))) status = Frame(OPCODE_TEXT, json.dumps(dict(stats())))
...@@ -95,7 +94,6 @@ if __name__ == '__main__': ...@@ -95,7 +94,6 @@ if __name__ == '__main__':
clients.append(sock) clients.append(sock)
if not t.is_alive(): if not t.is_alive():
print 'start thread'
t = Thread(target=update) t = Thread(target=update)
t.daemon = True t.daemon = True
t.start() t.start()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment