aboutsummaryrefslogtreecommitdiffstats
path: root/skype/skyped.py
diff options
context:
space:
mode:
Diffstat (limited to 'skype/skyped.py')
-rw-r--r--skype/skyped.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/skype/skyped.py b/skype/skyped.py
index 2b0a756f..e285642d 100644
--- a/skype/skyped.py
+++ b/skype/skyped.py
@@ -55,7 +55,10 @@ def input_handler(fd, io_condition):
skype.send(i.strip())
options.buf = None
else:
- input = fd.recv(1024)
+ try:
+ input = fd.recv(1024)
+ except SysCallError:
+ return True
for i in input.split("\n"):
skype.send(i.strip())
return True