[Bugfix] Import gettext in account.py
This commit is contained in:
parent
6078e6171f
commit
9b27491652
@ -18,6 +18,7 @@
|
|||||||
"""
|
"""
|
||||||
|
|
||||||
from flask import Blueprint, abort, current_app, flash, redirect, render_template, session, url_for
|
from flask import Blueprint, abort, current_app, flash, redirect, render_template, session, url_for
|
||||||
|
from flask_babelex import gettext as _
|
||||||
from flask_security import current_user, login_required
|
from flask_security import current_user, login_required
|
||||||
|
|
||||||
from sqlalchemy.orm.exc import NoResultFound
|
from sqlalchemy.orm.exc import NoResultFound
|
||||||
|
Loading…
Reference in New Issue
Block a user