Skip to content

Commit

Permalink
Merge pull request #349 from YuriCat/fix/revert_no_fileno
Browse files Browse the repository at this point in the history
Revert "chore: remove fileno() inferface from PickledConnection"
  • Loading branch information
YuriCat committed Nov 21, 2023
2 parents 4565bec + 0becf95 commit 403ae35
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 403ae35

Please sign in to comment.