diff options
author | Jon Turney <jon.turney@dronecode.org.uk> | 2017-11-02 16:35:21 +0300 |
---|---|---|
committer | Jon Turney <jon.turney@dronecode.org.uk> | 2017-11-02 16:35:21 +0300 |
commit | b9a9770ff4e72baa6005a10e705d973db48db5a9 (patch) | |
tree | 731be74fafd37567c498cfdc6a6bee6b5f7a1700 | |
parent | 26dcc93366001ef916f39ef34c31e08d8f3ed65a (diff) |
Also ignore OSError when trying to connect to irked
This seems to happen on Travis, now
-rwxr-xr-x | calm/irk.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/calm/irk.py b/calm/irk.py index 47cb112..7e425ef 100755 --- a/calm/irk.py +++ b/calm/irk.py @@ -34,7 +34,7 @@ def irk(message, target=DEFAULT_TARGET, server=DEFAULT_SERVER): send(s, target, message) s.close() - except ConnectionRefusedError: + except (ConnectionRefusedError, OSError): pass |