Skip to content

Commit ad7feca

Browse files
committed
smallfix
1 parent 9a5629c commit ad7feca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

django_mongoengine/forms/document_options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ class DocumentMetaWrapper(object):
7474
app_config = Options.__dict__["app_config"]
7575
try:
7676
_property_names = Options.__dict__["_property_names"]
77-
except AttributeError:
77+
except KeyError:
7878
pass
7979

8080
def __init__(self, document):

0 commit comments

Comments
 (0)