diff options
Diffstat (limited to 'Tools/freeze/bkfile.py')
-rw-r--r-- | Tools/freeze/bkfile.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tools/freeze/bkfile.py b/Tools/freeze/bkfile.py index c67a6c4..0e895f2 100644 --- a/Tools/freeze/bkfile.py +++ b/Tools/freeze/bkfile.py @@ -21,7 +21,10 @@ class _BkFile: self.mode = self.__file.mode self.name = self.__file.name self.read = self.__file.read - self.readinto = self.__file.readinto + try: + self.readinto = self.__file.readinto + except AttributeError: + pass self.readline = self.__file.readline self.readlines = self.__file.readlines self.seek = self.__file.seek |