diff --git a/config-example.py b/config-example.py index 49dbfe0..90f8dc8 100644 --- a/config-example.py +++ b/config-example.py @@ -1,6 +1,6 @@ MYSQL_USER = 'user' MYSQL_PASSWORD = 'password' -MYSQL_HOST 'localhost' +MYSQL_HOST = 'localhost' MYSQL_DB = 'database' DEBUG = True SECRET_KEY = 'development key' diff --git a/flask_site.py b/flask_site.py index 9157817..2dfa62c 100644 --- a/flask_site.py +++ b/flask_site.py @@ -4,7 +4,7 @@ from flask.ext.mysqldb import MySQL import hashlib from flask_debugtoolbar import DebugToolbarExtension from admin import admin -from flaskext.mail import Mail, Message +from flask.ext.mail import Mail, Message app = Flask(__name__) app.config.from_pyfile('config.py')