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

Fix deprecated werkzeug import
This commit is contained in:
Adam Tauber 2020-02-06 21:58:42 +00:00 committed by GitHub
commit ab1b1ac358
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
certifi==2019.3.9 certifi==2019.3.9
babel==2.7.0 babel==2.7.0
flask-babel==0.12.2 flask-babel==1.0.0
flask==1.0.2 flask==1.0.2
idna==2.8 idna==2.8
jinja2==2.10.1 jinja2==2.10.1

View file

@ -47,7 +47,7 @@ except:
from html import escape from html import escape
from datetime import datetime, timedelta from datetime import datetime, timedelta
from time import time from time import time
from werkzeug.contrib.fixers import ProxyFix from werkzeug.middleware.proxy_fix import ProxyFix
from flask import ( from flask import (
Flask, request, render_template, url_for, Response, make_response, Flask, request, render_template, url_for, Response, make_response,
redirect, send_from_directory redirect, send_from_directory