diff options
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r-- | libpathod/pathod.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py index 3d0f73e3..db7f37f1 100644 --- a/libpathod/pathod.py +++ b/libpathod/pathod.py @@ -14,7 +14,7 @@ class PathodHandler(tcp.BaseHandler): self.server.ssloptions["keyfile"], ) - while 1: + while not self.finished: line = self.rfile.readline() if line == "\r\n" or line == "\n": # Possible leftover from previous message line = self.rfile.readline() |