aboutsummaryrefslogtreecommitdiff
path: root/src/web/views/views.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/views.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/views.py')
-rw-r--r--src/web/views/views.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/web/views/views.py b/src/web/views/views.py
index b23a41a1..a7c842d7 100644
--- a/src/web/views/views.py
+++ b/src/web/views/views.py
@@ -1,7 +1,7 @@
import logging
from flask import (request, render_template, flash,
url_for, redirect, current_app)
-from flask.ext.babel import gettext
+from flask_babel import gettext
from conf import API_ROOT
from web.lib.view_utils import etag_match
bgstack15