diff options
author | Kevin Lange <k@dakko.us> | 2011-11-30 17:26:22 -0600 |
---|---|---|
committer | Kevin Lange <k@dakko.us> | 2011-11-30 17:26:22 -0600 |
commit | e0720adbded8b73aea42542f57c02042584b94fc (patch) | |
tree | c1a38f3ae23bdad6b56ce95b8992bafdb415f6c0 | |
parent | 8174fc31338d2e718bbd42c65e249e14f8e6b4b8 (diff) | |
download | nyancat-e0720adbded8b73aea42542f57c02042584b94fc.tar.gz |
Buffer 1024 characters on each read
-rwxr-xr-x | nyancat.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -19,7 +19,7 @@ class TNH(TelnetHandler): else: p.stdin.write("2\n") while 1: - s = p.stdout.read(1) + s = p.stdout.read(1024) try: self.write(s) except: |