hopefully final fix for strange infinite recursion bug

This commit is contained in:
uweschmitt
2014-08-11 12:57:47 +02:00
parent 5d024c7433
commit 224b3a2eda
2 changed files with 4 additions and 0 deletions

View File

@@ -240,6 +240,8 @@ class EncodedFile(object):
def __getattr__(self, name):
if hasattr(self, "buffer"):
return getattr(self.buffer, name)
else:
raise AttributeError("attribute buffer of %r not set" % self)
class MultiCapture(object):