Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue boppreh#397: Event listener fails when keyboard is disconne…
…cted momentarily. I encountered the issue in a *nix machine (Ubuntu 16.04). The fix makes it so that we don't ready the input file when a keyboard is disconnected by checking the 'readable()' method on the file pointer, in Ubuntu when the keyboard is re-connected the 'readable()' method returns True and everything works as usual.
- Loading branch information