Skip to content

Commit

Permalink
Revert "chore: remove fileno() inferface from PickledConnection"
Browse files Browse the repository at this point in the history
This reverts commit 31b8fb9.
  • Loading branch information
YuriCat committed Nov 21, 2023
1 parent 4565bec commit 0becf95
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions handyrl/connection.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ def close(self):
self.conn.close()
self.conn = None

def fileno(self):
return self.conn.fileno()

def _recv(self, size):
buf = io.BytesIO()
while size > 0:
Expand Down

0 comments on commit 0becf95

Please sign in to comment.