diff --git a/bin/pyghmicons b/bin/pyghmicons index 1130d7cf..4801fb0d 100755 --- a/bin/pyghmicons +++ b/bin/pyghmicons @@ -50,8 +50,9 @@ def _doinput(): select.select((sys.stdin,), (), (), 600) try: data = sys.stdin.read() - except OSError: - continue + except (IOError, OSError) as e: + if e.errno == 11: + continue sol.send_data(data)