aboutsummaryrefslogtreecommitdiffstats
path: root/libpathod/pathod.py
diff options
context:
space:
mode:
Diffstat (limited to 'libpathod/pathod.py')
-rw-r--r--libpathod/pathod.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/libpathod/pathod.py b/libpathod/pathod.py
index 5eb91f7a..44bcadb7 100644
--- a/libpathod/pathod.py
+++ b/libpathod/pathod.py
@@ -37,10 +37,7 @@ class PathodHandler(tcp.BaseHandler):
self.finish()
while not self.finished:
- try:
- line = self.rfile.readline()
- except socket.error:
- return None
+ line = self.rfile.readline()
if line == "\r\n" or line == "\n": # Possible leftover from previous message
line = self.rfile.readline()
if line == "":