Browse Source

Merge pull request #1831 from nfk/nicofonk/fix/werkzeug_import

Fix deprecated werkzeug import
libremiami
Adam Tauber 3 years ago committed by GitHub
parent
commit
ab1b1ac358
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      requirements.txt
  2. 2
      searx/webapp.py

2
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

2
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

Loading…
Cancel
Save