aboutsummaryrefslogtreecommitdiffstats
path: root/skype/skyped.py
diff options
context:
space:
mode:
authorMiklos Vajna <vmiklos@frugalware.org>2008-02-29 01:34:31 +0100
committerMiklos Vajna <vmiklos@frugalware.org>2008-02-29 01:34:31 +0100
commit2eb4b1ffbb2e8f78913e81fd0e0090eaa161fcc9 (patch)
treeac7a1282d5858cebc6eaee52c08b353cd0c04767 /skype/skyped.py
parent9db023404848798a90183c8fc27f6ffe890cdb25 (diff)
add support for account set -del skype/call
to finish an outgoing call
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