diff --git a/bumblebee/input.py b/bumblebee/input.py index cac471d..ebe11b2 100644 --- a/bumblebee/input.py +++ b/bumblebee/input.py @@ -28,7 +28,10 @@ def read_input(inp): if is_terminated(): return - events = epoll.poll(1) + try: + events = epoll.poll(1) + except Exception: + continue for fileno, event in events: line = "[" while "[" in line: