Update flash_cards.py
change flash_cards.py
This commit is contained in:
@@ -49,10 +49,10 @@ def close_db(error):
|
||||
|
||||
# Uncomment and use this to initialize database, then comment it
|
||||
# You can rerun it to pave the database and start over
|
||||
#@app.route('/initdb')
|
||||
#def initdb():
|
||||
# init_db()
|
||||
# return 'Initialized the database.'
|
||||
# @app.route('/initdb')
|
||||
# def initdb():
|
||||
# init_db()
|
||||
# return 'Initialized the database.'
|
||||
|
||||
|
||||
@app.route('/')
|
||||
|
||||
Reference in New Issue
Block a user