diff options
author | MaZderMind <peter@mazdermind.de> | 2015-10-11 17:27:10 +0200 |
---|---|---|
committer | MaZderMind <peter@mazdermind.de> | 2015-10-11 17:27:10 +0200 |
commit | a060f75c3a01e1f4aa0b5f79b5c74bfb1ec3da76 (patch) | |
tree | 0ca55f7e149506183f1ec49c5ead4c4c0e17c3d4 /voctocore/lib | |
parent | 103064675ee639f3083bde42d233c29fcecdb183 (diff) |
support python32
Diffstat (limited to 'voctocore/lib')
-rw-r--r-- | voctocore/lib/controlserver.py | 4 |
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]: |