Permalink
Browse files

Minor cleanup to bootstrap script

  • Loading branch information...
nickstenning committed Feb 21, 2012
1 parent e9eff1b commit a4c2b90bda41df3e97377bacc08628273e2bd7c4
Showing with 1 addition and 2 deletions.
  1. +1 −2 bootstrap.py
View
@@ -5,6 +5,7 @@
import sys
import annotateit
+from annotateit import db
from annotateit.model import Consumer, User
if __name__ == '__main__':
@@ -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)

0 comments on commit a4c2b90

Please sign in to comment.