Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (8 sloc) 241 Bytes
import util
import time
def tick(to_read, to_write, to_error, scope):
#do something
print "tick"
for socko in to_write:
#util.ws_send(socko, scope.setdefault("last_message", ""))
util.ws_send(socko, time.clock())