Commit 04609416 authored by 崔为之's avatar 崔为之 💪🏽

Update project

parent 83b9970d
......@@ -42,7 +42,7 @@ class FlaskElasticsearch(BaseFlaskElasticsearch):
# Use the new_style teardown_appcontext if it's available,
# otherwise fall back to the request context
if hasattr(app, "teardown_appcontext"):
if hasattr(app, 'teardown_appcontext'):
app.teardown_appcontext(self.teardown)
else:
app.teardown_request(self.teardown)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment