summaryrefslogtreecommitdiff
path: root/voctocore/lib/controlserver.py
diff options
context:
space:
mode:
Diffstat (limited to 'voctocore/lib/controlserver.py')
-rw-r--r--voctocore/lib/controlserver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/voctocore/lib/controlserver.py b/voctocore/lib/controlserver.py
index 22dd305..48fff65 100644
--- a/voctocore/lib/controlserver.py
+++ b/voctocore/lib/controlserver.py
@@ -41,11 +41,11 @@ class ControlServer(TCPMultiConnection):
except UnicodeDecodeError as e:
continue
- except BlockingIOError as e:
+ except:
pass
data = "".join(leftovers)
- leftovers.clear()
+ del leftovers[:]
lines = data.split('\n')
for line in lines[:-1]: