diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-05-29 22:58:20 +0200 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2016-05-29 22:58:20 +0200 |
commit | b0049442eee94a1636490c091215bd706f819558 (patch) | |
tree | e44b18eddfcc0134ed4fc2b38821740617fac694 /src/web/views/admin.py | |
parent | Bugfix: it was not possible to delete a user with categories. (diff) | |
download | newspipe-b0049442eee94a1636490c091215bd706f819558.tar.gz newspipe-b0049442eee94a1636490c091215bd706f819558.tar.bz2 newspipe-b0049442eee94a1636490c091215bd706f819558.zip |
Fixed some depreciations with the new version of Flask.
Diffstat (limited to 'src/web/views/admin.py')
-rw-r--r-- | src/web/views/admin.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/views/admin.py b/src/web/views/admin.py index d7ec211f..9703894e 100644 --- a/src/web/views/admin.py +++ b/src/web/views/admin.py @@ -1,7 +1,7 @@ from datetime import datetime from flask import (Blueprint, render_template, redirect, flash, url_for) -from flask.ext.babel import gettext, format_timedelta -from flask.ext.login import login_required, current_user +from flask_babel import gettext, format_timedelta +from flask_login import login_required, current_user from werkzeug import generate_password_hash from web.views.common import admin_permission |