Skip to content

Commit 3d1f5f9

Browse files
author
Jan Schrewe
committed
Fix yesterdays fix.
1 parent 150a6b0 commit 3d1f5f9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mongodbforms/documentoptions.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ def __init__(self, wrapped):
1818
self.obj = wrapped
1919

2020
def __getattr__(self, attr):
21-
if attr in dir(self.baseObject):
22-
return getattr(self.baseObject, attr)
21+
if attr in dir(self.obj):
22+
return getattr(self.obj, attr)
2323
raise AttributeError
2424

2525
def __setattr__(self, attr, value):

0 commit comments

Comments
 (0)