Skip to content

Commit

Permalink
fix stupid typo
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffknupp committed Aug 21, 2013
1 parent 9f8801c commit 6b64bda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sandman/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ def register(cls, use_admin=True):
entry._use_admin = use_admin
else:
current_app.endpoint_classes[cls.endpoint()] = cls
current_app.classes_by_name(cls.__name__, cls)
current_app.classes_by_name[cls.__name__] = cls
cls._use_admin = use_admin
Model.prepare(db.engine)

Expand Down

0 comments on commit 6b64bda

Please sign in to comment.