Fix some deprecation warnings with newer flask version

This commit is contained in:
Chase Sterling 2016-07-14 17:59:08 -04:00
parent a22e99bf9b
commit 36d3fb7215
12 changed files with 15 additions and 14 deletions

View file

@ -14,7 +14,7 @@ def whoosh(app):
def elasticsearch(app):
from flask.ext.elastic import Elastic
from flask_elastic import Elastic
fields = app.config.get('ELASTICSEARCH_FIELDS')
return ElasticSearch(Elastic(app), fields)