aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/user.py
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2016-05-29 22:58:20 +0200
committerCédric Bonhomme <cedric@cedricbonhomme.org>2016-05-29 22:58:20 +0200
commitb0049442eee94a1636490c091215bd706f819558 (patch)
treee44b18eddfcc0134ed4fc2b38821740617fac694 /src/web/views/user.py
parentBugfix: it was not possible to delete a user with categories. (diff)
downloadnewspipe-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/user.py')
-rw-r--r--src/web/views/user.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/views/user.py b/src/web/views/user.py
index 3928f5dc..229530d1 100644
--- a/src/web/views/user.py
+++ b/src/web/views/user.py
@@ -2,8 +2,8 @@ import string
import random
from flask import (Blueprint, g, render_template, redirect,
flash, url_for, request)
-from flask.ext.babel import gettext
-from flask.ext.login import login_required, current_user
+from flask_babel import gettext
+from flask_login import login_required, current_user
import conf
from notifications import notifications
bgstack15