forked from orbit-oss/flask
Update for python3 (#1973)
just updated print 'Initialized the database.' with print('Initialized the database.') to be python3 compliant
This commit is contained in:
parent
5044f3d610
commit
55bd39c7f0
1 changed files with 1 additions and 1 deletions
|
|
@ -35,7 +35,7 @@ just below the `connect_db` function in :file:`flaskr.py`::
|
|||
def initdb_command():
|
||||
"""Initializes the database."""
|
||||
init_db()
|
||||
print 'Initialized the database.'
|
||||
print('Initialized the database.')
|
||||
|
||||
The ``app.cli.command()`` decorator registers a new command with the
|
||||
:command:`flask` script. When the command executes, Flask will automatically
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue