diff options
author | Miklos Vajna <vmiklos@frugalware.org> | 2008-05-01 00:07:15 +0200 |
---|---|---|
committer | Miklos Vajna <vmiklos@frugalware.org> | 2008-05-01 00:07:15 +0200 |
commit | 140ffc8762b385cd0caba57ba192faba46b21094 (patch) | |
tree | af193e7c01488cbe63442640ab8fdc51be9617cc | |
parent | 80dfdce52f8a39ae24e7dc6993a341b559b2f211 (diff) |
and same for receive: catch any error
-rw-r--r-- | skype/skyped.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/skype/skyped.py b/skype/skyped.py index e46d4ec3..eab69a32 100644 --- a/skype/skyped.py +++ b/skype/skyped.py @@ -57,7 +57,8 @@ def input_handler(fd, io_condition): else: try: input = fd.recv(1024) - except SSL.SysCallError: + except Exception, s: + dprint("Warning, receiving 1024 bytes failed (%s)." % s) return True for i in input.split("\n"): skype.send(i.strip()) |