Revert "Remove unnecessary fileno method from FileObjectWrapper"

This partially addresses issue #65.

This reverts commit c87d7bc6f3.
This commit is contained in:
joo 2017-07-18 13:33:16 +01:00
parent f450ef5ff4
commit cab8d56746

View File

@ -70,6 +70,9 @@ class EncryptedFileObjectWrapper(object):
def read(self, length):
return self.decryptor.update(self.actual_file_object.read(length))
def fileno(self):
return self.actual_file_object.fileno()
class EncryptedSocketWrapper(object):
def __init__(self, socket, encryptor, decryptor):