alias needed for python2...

This commit is contained in:
landylan 2017-11-02 03:29:58 +08:00
parent dd4a0375c2
commit 6f0e6ca2d1
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@ if sys.version_info >= (3, 0):
else: else:
enable_search = WHOOSH_ENABLED enable_search = WHOOSH_ENABLED
if enable_search: if enable_search:
import flask_whooshalchemy import flask_whooshalchemy as whooshalchemy
followers = db.Table( followers = db.Table(