diff options
Diffstat (limited to 'Tools/demo/rpythond.py')
-rwxr-xr-x | Tools/demo/rpythond.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Tools/demo/rpythond.py b/Tools/demo/rpythond.py index a885b3e..a18de13 100755 --- a/Tools/demo/rpythond.py +++ b/Tools/demo/rpythond.py @@ -29,7 +29,7 @@ def main(): with conn: print('connection from', remotehost, remoteport) request = b'' - while 1: + while True: data = conn.recv(BUFSIZE) if not data: break |