From a13ca0a81b1e230819ef519e04081468d13acebf Mon Sep 17 00:00:00 2001 From: Billy Brawner Date: Wed, 9 Mar 2016 19:55:18 -0600 Subject: [PATCH] Fixed syntax error on import and in config example file --- config-example.py | 2 +- flask_site.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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')