Update for python3 (#1973)

just updated print 'Initialized the database.' with print('Initialized the database.') to be python3 compliant
This commit is contained in:
SaturnR 2016-08-20 19:43:10 +04:00 committed by Markus Unterwaditzer
parent 5044f3d610
commit 55bd39c7f0

View file

@ -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