Removed static noise foo, added a few sleeps

This commit is contained in:
jaseg 2014-10-01 18:21:27 +02:00
parent c06bdd273e
commit e36a4054f1

View file

@ -162,15 +162,18 @@ if __name__ == '__main__':
renderer = userver
else:
static_noise = time() % 300 < 60
if static_noise:
if False:
foo = os.urandom(640)
frame = bytes([v for c in zip(list(foo), list(foo), list(foo)) for v in c ])
sleep(0.05)
else:
frame = next(defaulttexts)
sleep(0.05)
sendframe(frame)
#printframe(next(defaulttexts))
continue
for frame in renderer:
sendframe(frame)
sleep(0.05)
#printframe(frame)