fixed strange infinite recursion bug

This commit is contained in:
uweschmitt 2014-08-07 16:13:12 +02:00
parent 1d7b574b31
commit f7282b84bd
1 changed files with 2 additions and 1 deletions

View File

@ -238,6 +238,7 @@ class EncodedFile(object):
self.write(data) self.write(data)
def __getattr__(self, name): def __getattr__(self, name):
if name != "buffer":
return getattr(self.buffer, name) return getattr(self.buffer, name)