Skip to content

Commit

Permalink
Woops, fix database ref
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Peterson committed Aug 13, 2019
1 parent 6752349 commit 457d462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion flask_secure_admin/blueprint.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def register(self, app, options, first_registration=False):
self.admin = self.add_admin(app, app.db, options)
self.security = self.add_security(app, app.db, options)

self.bootstrap_database(app, db)
self.bootstrap_database(app, app.db)

@app.teardown_appcontext
def shutdown_session(exception=None):
Expand Down

0 comments on commit 457d462

Please sign in to comment.