no need future module for python2

fix missing StringIO
This commit is contained in:
林檎
2017-03-05 19:23:49 +08:00
parent bf8688fee1
commit 1da3b57f5a
3 changed files with 6 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ import os
import logging
from werkzeug.security import generate_password_hash
from flask_babel import gettext as _
from builtins import str
#from builtins import str
dbpath = os.path.join(os.path.normpath(os.path.dirname(os.path.realpath(__file__)) + os.sep + ".." + os.sep), "app.db")
engine = create_engine('sqlite:///{0}'.format(dbpath), echo=False)