Skip to content

Commit

Permalink
Fixed interactive mode timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
AcidWeb committed Oct 18, 2019
1 parent a06847d commit 70fbf68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CB/Compat.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ def kbhit():
if system == 'Windows':
return msvcrt.kbhit()
else:
dr = select([sys.stdin], [], [], 0)
return dr != []
r = select([sys.stdin], [], [], 0)
return r[0] != []


class UnicodeSingleTable(AsciiTable):
Expand Down

0 comments on commit 70fbf68

Please sign in to comment.