diff options
-rwxr-xr-x | host/server.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/host/server.py b/host/server.py index 2660f42..025d534 100755 --- a/host/server.py +++ b/host/server.py @@ -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) |