Skip to content

Commit

Permalink
Really fix select interruption on Python <= 3.3
Browse files Browse the repository at this point in the history
  • Loading branch information
ku1ik committed Jul 11, 2016
1 parent a145d9e commit d594d79
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion asciinema/pty_recorder.py
Expand Up @@ -72,7 +72,7 @@ def _copy(signal_fd):
if e.errno == errno.EINTR:
continue
except select.error as e: # Python < 3.3
if e[0] == 4:
if e.args[0] == 4:
continue

if master_fd in rfds:
Expand Down

0 comments on commit d594d79

Please sign in to comment.