|
|
|
@ -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)
|
|
|
|
|