Skip to content

Commit

Permalink
Minor cleanup to bootstrap script
Browse files Browse the repository at this point in the history
  • Loading branch information
nickstenning committed Feb 21, 2012
1 parent e9eff1b commit a4c2b90
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions bootstrap.py
Expand Up @@ -5,6 +5,7 @@
import sys

import annotateit
from annotateit import db
from annotateit.model import Consumer, User

if __name__ == '__main__':
Expand Down Expand Up @@ -38,8 +39,6 @@
ckey = 'annotateit'

with app.test_request_context():
db = app.extensions['sqlalchemy'].db

print("\nCreating admin user... ", end="")

u = User(username, email, password)
Expand Down

0 comments on commit a4c2b90

Please sign in to comment.