diff options
author | Adam Tauber <asciimoo@gmail.com> | 2020-02-06 21:58:42 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-02-06 21:58:42 +0000 |
commit | ab1b1ac358089d446d409026ee2a51cead2179fd (patch) | |
tree | 91d0909f3bbcd74025ed1798d26e783fbf1871f1 | |
parent | 6060ab85f8d920bd25093d70bf0a86920dcd5a9a (diff) | |
parent | b8b13372c8fd3bfe978a1c724ab98b05348df054 (diff) | |
download | searxng-ab1b1ac358089d446d409026ee2a51cead2179fd.tar.gz searxng-ab1b1ac358089d446d409026ee2a51cead2179fd.zip |
Merge pull request #1831 from nfk/nicofonk/fix/werkzeug_import
Fix deprecated werkzeug import
-rw-r--r-- | requirements.txt | 2 | ||||
-rw-r--r-- | searx/webapp.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/requirements.txt b/requirements.txt index 6e4df37a7..ea4a5a7a0 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,6 +1,6 @@ certifi==2019.3.9 babel==2.7.0 -flask-babel==0.12.2 +flask-babel==1.0.0 flask==1.0.2 idna==2.8 jinja2==2.10.1 diff --git a/searx/webapp.py b/searx/webapp.py index aadefe6b9..5ed9f1277 100644 --- a/searx/webapp.py +++ b/searx/webapp.py @@ -47,7 +47,7 @@ except: from html import escape from datetime import datetime, timedelta from time import time -from werkzeug.contrib.fixers import ProxyFix +from werkzeug.middleware.proxy_fix import ProxyFix from flask import ( Flask, request, render_template, url_for, Response, make_response, redirect, send_from_directory |