Skip to content

Commit

Permalink
Fix python2 regression from #1608 (#1629)
Browse files Browse the repository at this point in the history
Closes #1627
  • Loading branch information
Arusekk committed Jul 5, 2020
1 parent db0312e commit 8b1c25f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pwnlib/tubes/process.py
Original file line number Diff line number Diff line change
Expand Up @@ -752,7 +752,7 @@ def can_recv_raw(self, timeout):
# ValueError: I/O operation on closed file
raise EOFError
except select.error as v:
if v.errno == errno.EINTR:
if v.args[0] == errno.EINTR:
return False

def connected_raw(self, direction):
Expand Down

0 comments on commit 8b1c25f

Please sign in to comment.